Changeset - r12690:90eab199360e
[Not reviewed]
master
0 1 0
smatz - 15 years ago 2009-08-13 11:30:42
smatz@openttd.org
(svn r17163) -Fix (r7961): don't return exit value of rm
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
configure
Show inline comments
 
@@ -45,26 +45,27 @@ SRC_DIR="$ROOT_DIR/src"
 
LANG_DIR="$SRC_DIR/lang"
 
MEDIA_DIR="$ROOT_DIR/media"
 
SOURCE_LIST="$ROOT_DIR/source.list"
 

	
 
if [ "$1" = "--reconfig" ] || [ "$1" = "--reconfigure" ]; then
 
	if [ ! -f "config.cache" ]; then
 
		echo "can't reconfigure, because never configured before"
 
		exit 1
 
	fi
 
	# Make sure we don't lock config.cache
 
	cat config.cache | sed 's@\\ @\\\\ @g' > cache.tmp
 
	sh cache.tmp
 
	RET=$?
 
	rm -f cache.tmp
 
	exit $?
 
	exit $RET
 
fi
 

	
 
set_default
 
detect_params "$@"
 
check_params
 
save_params
 
make_cflags_and_ldflags
 

	
 
EXE=""
 
if [ "$os" = "MINGW" ] || [ "$os" = "CYGWIN" ] || [ "$os" = "OS2" ] || [ "$os" = "DOS" ] || [ "$os" = "WINCE" ]; then
 
	EXE=".exe"
 
fi
0 comments (0 inline, 0 general)