mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r7961) [Configure] -Fix: "" in config params didn't survive --reconfig. They should now.
This commit is contained in:
parent
c6da059f7b
commit
025d8dd224
|
@ -257,10 +257,10 @@ save_params() {
|
|||
|
||||
configure="$0 --ignore-extra-parameters"
|
||||
for p in $save_params_array; do
|
||||
eval "v=\$$p"
|
||||
eval "v=\"\$$p\""
|
||||
p=`echo "$p" | sed 's/_/-/g;s/\n//g;'`
|
||||
# Only save those params that aren't empty
|
||||
configure="$configure --$p=$v"
|
||||
configure="$configure --$p=\"$v\""
|
||||
done
|
||||
|
||||
echo "$configure" >> $config_log
|
||||
|
|
Loading…
Reference in New Issue