From 3e2fae03bdfcc672cffd342e5fadf06cff41e4e6 Mon Sep 17 00:00:00 2001 From: truelight Date: Tue, 6 Mar 2007 23:42:30 +0000 Subject: (svn r9049) -Fix [Config]: when running 'bash configure', make sure automated reconfigures run 'bash configure' too. --- configure | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 51a5c440e..e61b972dc 100755 --- a/configure +++ b/configure @@ -1,5 +1,10 @@ #!/bin/sh +CONFIGURE_EXECUTABLE="$_" +# On *nix systems those two are equal when ./configure is done +if [ "$0" != "$CONFIGURE_EXECUTABLE" ]; then + CONFIGURE_EXECUTABLE="$CONFIGURE_EXECUTABLE $0" +fi # Find out where configure is (in what dir) ROOT_DIR="`dirname $0`" ROOT_DIR="`cd $ROOT_DIR && pwd`" -- cgit v1.2.3-54-g00ecf