Changeset - r10408:0e4441758184
[Not reviewed]
master
0 1 0
truebrain - 16 years ago 2008-12-06 00:38:48
truebrain@openttd.org
(svn r14659) -Add: in case Thief^ (forum user) ever tries what he thinks he will try when he doesn't know it is --prefix-dir, make sure he also gets what he assumes he gets :)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
config.lib
Show inline comments
 
@@ -148,25 +148,25 @@ detect_params() {
 
	# Walk over all params from the user and override any default settings if
 
	#  needed. This also handles any invalid option.
 
	for p in "$@"; do
 
		if [ -n "$prev_p" ]; then
 
			eval "$prev_p=\$p"
 
			prev_p=
 
			continue
 
		fi
 

	
 
		optarg=`expr "x$p" : 'x[^=]*=\(.*\)'`
 

	
 
		case "$p" in
 
			--help | -h)                  showhelp; exit 0;;
 
			--help | -h | -?)             showhelp; exit 0;;
 

	
 
			--config-log)                 prev_p="config_log";;
 
			--config-log=*)               config_log="$optarg";;
 

	
 
			--build)                      prev_p="build";;
 
			--build=*)                    build="$optarg";;
 

	
 
			--host)                       prev_p="host";;
 
			--host=*)                     host="$optarg";;
 

	
 
			--os)                         prev_p="os";;
 
			--os=*)                       os="$optarg";;
0 comments (0 inline, 0 general)