From 299cbc41f74aa4dd8ddfd14ca9da3a92cff34474 Mon Sep 17 00:00:00 2001 From: Hugo Herbelin Date: Sat, 13 May 2017 22:37:27 +0200 Subject: Fixing an inconsistency between configure and configure.ml. The shell script configure was assuming the existence of option -camldir which was removed in 333d41a9. --- configure | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 09585e59ee..d976cc7fe5 100755 --- a/configure +++ b/configure @@ -3,7 +3,7 @@ ## This micro-configure shell script is here only to ## launch the real configuration via ocaml -cmd=ocaml +ocaml=ocaml script=./configure.ml if [ ! -f $script ]; then @@ -16,10 +16,11 @@ fi ## Parse the args, only looking for -camldir ## We avoid using shift to keep "$@" intact +cmd=$ocaml last= for i; do case $last in - -camldir|--camldir) cmd="$i/ocaml"; break;; + -camldir) cmd="$i/$ocaml"; break;; esac last=$i done -- cgit v1.2.3