Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[fix] configure,ocaml,version: really (thx radare) accept any version…

… superior to 3
  • Loading branch information...
commit 858cb9fed9a6300a2994c6b67481b4d2fae175ee 1 parent d13b6e8
@OpaOnWindowsNow OpaOnWindowsNow authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  configure
View
2  configure
@@ -230,7 +230,7 @@ OCAML_VERSION=$($OCAMLOPT -version)
OCAML_VERSION_MAJOR=${OCAML_VERSION%%.*}
OCAML_VERSION_MIDDLE=${OCAML_VERSION%.*}
OCAML_VERSION_MIDDLE=${OCAML_VERSION_MIDDLE#*.}
-if [ $OCAML_VERSION_MAJOR -gt 3 ] || [ $OCAML_VERSION_MAJOR -eq 3 ] && [ $OCAML_VERSION_MIDDLE -ge 12 ]; then
+if [ $OCAML_VERSION_MAJOR -eq 3 ] && [ $OCAML_VERSION_MIDDLE -ge 12 ] || [ $OCAML_VERSION_MAJOR -gt 3 ]; then
echo-ok $OCAML_VERSION
else
echo-err $OCAML_VERSION
Please sign in to comment.
Something went wrong with that request. Please try again.