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
commitf5cffcc1fccf0f2f45f67513b39bede46ed7e686 (patch)
tree71dfe7b62e20a53582c40dac3e803d3cf7157052
parent168a7876a0106e630a191c52e077bd46f919ee3e (diff)
downloadopenttd-f5cffcc1fccf0f2f45f67513b39bede46ed7e686.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