Permalink
Browse files

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

… superior to 3
  • Loading branch information...
1 parent d13b6e8 commit 858cb9fed9a6300a2994c6b67481b4d2fae175ee @OpaOnWindowsNow OpaOnWindowsNow committed Sep 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 configure
View
@@ -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

0 comments on commit 858cb9f

Please sign in to comment.