changeset 6077:759ebc94c994 draft

(svn r8810) [Configure] -Fix: "" variables if you test them, else if they are empty they return lovely errors (tnx to Celester for finding thisone ;))
author truelight <truelight@openttd.org>
date Mon, 19 Feb 2007 16:10:18 +0000
parents 0540ac4a12e6
children 50cc1df25838
files config.lib
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/config.lib
+++ b/config.lib
@@ -1140,7 +1140,7 @@
 }
 
 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