diff options
author | truelight <truelight@openttd.org> | 2007-03-06 23:42:30 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-03-06 23:42:30 +0000 |
commit | a69e3b1c45f12ee6f21a4ac1c8a8f8bc0892f226 (patch) | |
tree | d60f44befca78a86ce7e6321e685b1296cf334f8 /configure | |
parent | 0b5cbecd3d097045918a5de1b6d9a386d5d84904 (diff) | |
download | openttd-a69e3b1c45f12ee6f21a4ac1c8a8f8bc0892f226.tar.xz |
(svn r9049) -Fix [Config]: when running 'bash configure', make sure automated reconfigures run 'bash configure' too.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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`" |