summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-02-19 16:10:18 +0000
committertruelight <truelight@openttd.org>2007-02-19 16:10:18 +0000
commit4ee0518ed2ff8ee7428f85c8c4d5bfdb0c6bfde2 (patch)
tree71dfe7b62e20a53582c40dac3e803d3cf7157052
parent1d95385a976f07bafcada7cee2dfe90fea6ffe08 (diff)
downloadopenttd-4ee0518ed2ff8ee7428f85c8c4d5bfdb0c6bfde2.tar.xz
(svn r8810) [Configure] -Fix: "" variables if you test them, else if they are empty they return lovely errors (tnx to Celester for finding thisone ;))
-rw-r--r--config.lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.lib b/config.lib
index 5a18f27ee..85b8e0358 100644
--- a/config.lib
+++ b/config.lib
@@ -1140,7 +1140,7 @@ check_makedepend() {
}
detect_os() {
- if [ $os = "DETECT" ]; then
+ if [ "$os" = "DETECT" ]; then
# Detect UNIX, OSX, FREEBSD, MORPHOS, BEOS, SUNOS, CYGWIN, MINGW, OS2, WINCE, and PSP
# Try first via dumpmachine, then via uname