(svn r7961) [Configure] -Fix: "" in config params didn't survive --reconfig. They should now.

This commit is contained in:
truelight
2007-01-07 13:13:01 +00:00
parent c6da059f7b
commit 025d8dd224
2 changed files with 5 additions and 4 deletions

View File

@@ -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