(svn r8810) [Configure] -Fix: "" variables if you test them, else if they are empty they return lovely errors (tnx to Celester for finding thisone ;))
authortruelight
Mon, 19 Feb 2007 16:10:18 +0000
changeset 6403 6165d686c6c2
parent 6402 d8d29aef051f
child 6404 1a632e5d77d0
(svn r8810) [Configure] -Fix: "" variables if you test them, else if they are empty they return lovely errors (tnx to Celester for finding thisone ;))
config.lib
--- a/config.lib	Mon Feb 19 13:45:13 2007 +0000
+++ b/config.lib	Mon Feb 19 16:10:18 2007 +0000
@@ -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