summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-01-07 13:13:01 +0000
committertruelight <truelight@openttd.org>2007-01-07 13:13:01 +0000
commit025d8dd224f0cd9f6c002a6e6a7787c04388fdb5 (patch)
treee240fcd75aee641f98a96904999d3390dbf7c855 /configure
parentc6da059f7b99250a3fd28483fd51ed4b0ff6d75a (diff)
downloadopenttd-025d8dd224f0cd9f6c002a6e6a7787c04388fdb5.tar.xz
(svn r7961) [Configure] -Fix: "" in config params didn't survive --reconfig. They should now.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index ecd13e270..f28be4a46 100755
--- a/configure
+++ b/configure
@@ -25,8 +25,9 @@ if [ "$1" = "--reconfig" ]; then
exit 1
fi
# Make sure we don't lock config.cache
- configure=`cat config.cache`
- $configure
+ cat config.cache > cache.tmp
+ sh cache.tmp
+ rm -f cache.tmp
exit $?
fi