summary refs log tree commit diff stats
path: root/tools/buildsh.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/buildsh.tmpl')
-rwxr-xr-xtools/buildsh.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/buildsh.tmpl b/tools/buildsh.tmpl
index cdfdbf2c1..da034a76b 100755
--- a/tools/buildsh.tmpl
+++ b/tools/buildsh.tmpl
@@ -33,7 +33,7 @@ case $uos in
   *darwin* ) 
     myos="macosx"
     LINK_FLAGS="$LINK_FLAGS -ldl -lm"
-    if [ `sysctl hw |grep 64bit` = "hw.cpu64bit_capable: 1" ] ; then
+    if [ "`sysctl hw |grep 64bit`" = "hw.cpu64bit_capable: 1" ] ; then
       ucpu="amd64"
     fi
     ;;