]> granicus.if.org Git - graphviz/commitdiff
another try at fixing quoting
authorellson <devnull@localhost>
Fri, 20 Feb 2009 02:46:50 +0000 (02:46 +0000)
committerellson <devnull@localhost>
Fri, 20 Feb 2009 02:46:50 +0000 (02:46 +0000)
macosx/build/Makefile

index 4631df6f1429b721d39ee3c227274f0e264bf597..bdaf068128097ee98aea7cbe7caa2b528c041cfa 100644 (file)
@@ -41,7 +41,7 @@ postinstall:
        echo "/usr/local/bin/dot -c" >$@
        make -n -C ../../tclpkg install-data-hook >>$@
        echo "arch -arch i386 -arch ppc /usr/local/bin/gv-fc-cache" >>$@
-       echo "if [ `sysctl -n hw.cpu64bit_capable` ]; then arch -arch x86_64 -arch ppc64 /usr/local/bin/gv-fc-cache; fi" >>$@
+       echo 'if test `sysctl -n hw.cpu64bit_capable` = 1; then arch -arch x86_64 -arch ppc64 /usr/local/bin/gv-fc-cache; fi' >>$@
 
 $(GV_DIR)/cmd/dot/.libs/$(DOT): $(GV_DIR)/Makefile
        @echo