diff options
author | truelight <truelight@openttd.org> | 2007-02-19 16:10:18 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-02-19 16:10:18 +0000 |
commit | 4ee0518ed2ff8ee7428f85c8c4d5bfdb0c6bfde2 (patch) | |
tree | 71dfe7b62e20a53582c40dac3e803d3cf7157052 | |
parent | 1d95385a976f07bafcada7cee2dfe90fea6ffe08 (diff) | |
download | openttd-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.lib | 2 |
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 |