Changeset - r6387:c2b5fc2f69cb
[Not reviewed]
master
0 1 0
truelight - 17 years ago 2007-03-27 13:56:18
truelight@openttd.org
(svn r9504) [Config] -Fix r9340: somehow a -n got mixed up with a -z (tnx glx)
1 file changed with 4 insertions and 1 deletions:
0 comments (0 inline, 0 general)
configure
Show inline comments
 
@@ -3,7 +3,10 @@
 
CONFIGURE_EXECUTABLE="$_"
 
# On *nix systems those two are equal when ./configure is done
 
if [ "$0" != "$CONFIGURE_EXECUTABLE" ]; then
 
	if [ -z "`echo $CONFIGURE_EXECUTABLE | grep make`" ]; then
 
	# On some systems, when ./configure is triggered from 'make'
 
	#  the $_ is filled with 'make'. So if that is true, skip 'make'
 
	#  and use $0 (and hope that is correct ;))
 
	if [ -n "`echo $CONFIGURE_EXECUTABLE | grep make`" ]; then
 
		CONFIGURE_EXECUTABLE="$0"
 
	else
 
		CONFIGURE_EXECUTABLE="$CONFIGURE_EXECUTABLE $0"
0 comments (0 inline, 0 general)