[SOLVED] CS ocaml OCAML_VERSION=$(ocaml version | rev | cut -d -f 1 | rev)

$25

File Name: CS_ocaml_OCAML_VERSION=$(ocaml_version_|_rev_|_cut_-d__-f_1_|_rev).zip
File Size: 621.72 KB

5/5 - (1 vote)

OCAML_VERSION=$(ocaml version | rev | cut -d -f 1 | rev)
if [ $OCAML_VERSION = 4.11.0 ] ; then
export OCAMLPATH=dep
else
echo You must have OCaml version 4.11.0 for this project.
echo $OCAML_VERSION is not valid.
fi

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] CS ocaml OCAML_VERSION=$(ocaml version | rev | cut -d -f 1 | rev)
$25