diff options
author | truelight <truelight@openttd.org> | 2007-01-07 13:13:01 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-01-07 13:13:01 +0000 |
commit | a9740d850e95fe52b410e4518e3dc850bbf073f1 (patch) | |
tree | e240fcd75aee641f98a96904999d3390dbf7c855 /config.lib | |
parent | b1aea88bf0ae229ab7535749f983583e2c95a6fa (diff) | |
download | openttd-a9740d850e95fe52b410e4518e3dc850bbf073f1.tar.xz |
(svn r7961) [Configure] -Fix: "" in config params didn't survive --reconfig. They should now.
Diffstat (limited to 'config.lib')
-rw-r--r-- | config.lib | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config.lib b/config.lib index 0dfafc82b..4b973fa80 100644 --- a/config.lib +++ b/config.lib @@ -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 |