Skip to content

Commit

Permalink
Merge pull request #98 from yakobowski/fix-ocaml-version-detection
Browse files Browse the repository at this point in the history
Fix regexp for detecting OCaml version
  • Loading branch information
backtracking authored Sep 22, 2020
2 parents cc6b35b + b20963e commit b30b2b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ if test "$OCAMLC" = no ; then
fi

# we extract Ocaml version number and library path
OCAMLVERSION=`$OCAMLC -v | sed -n -e 's|.*version *\(.*\)$|\1|p' `
OCAMLVERSION=`$OCAMLC -v | sed -n -e 's|The O.*, version *\(.*\)$|\1|p' `
echo "ocaml version is $OCAMLVERSION"

case $OCAMLVERSION in
Expand Down

0 comments on commit b30b2b9

Please sign in to comment.