# HG changeset patch # User truelight # Date 1171901418 0 # Node ID 759ebc94c994a82348447615b0ffb91646521071 # Parent 0540ac4a12e632719f869c2655e33fd571d84600 (svn r8810) [Configure] -Fix: "" variables if you test them, else if they are empty they return lovely errors (tnx to Celester for finding thisone ;)) diff --git a/config.lib b/config.lib --- 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