summary refs log tree commit diff stats
path: root/tools
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2010-09-16 01:08:22 +0200
committerAraq <rumpf_a@web.de>2010-09-16 01:08:22 +0200
commit9cf4cf02994d55a909c4747b6dcca24bf93543bb (patch)
tree4209b01dd92596edb5984d80490b9e382fbdc608 /tools
parent7122973ff59b490b83f1c5ea984e4f08b3ad44e5 (diff)
downloadNim-9cf4cf02994d55a909c4747b6dcca24bf93543bb.tar.gz
mac os x amd64 detection; missing C files added
Diffstat (limited to 'tools')
-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
     ;;