osx InstallationCheck script: use full path for sysctl.
Thanks to jonahbull for the suggestion. Closes #580.
commite460ab2894c65f9b025cb807c4512ce609ef40b9
authorJohn MacFarlane <fiddlosopher@gmail.com>
dateSun 24 Feb 2013, 14:05 (14 years ago)
parentcae4097
osx-resources/InstallationCheck+2−2
@@ -1,6 +1,6 @@
11#!/bin/sh
2−cputype=`sysctl -n hw.cputype`
3−sixtyfourbit=`sysctl -n hw.cpu64bit_capable`
2+cputype=`/usr/sbin/sysctl -n hw.cputype`
3+sixtyfourbit=`/usr/sbin/sysctl -n hw.cpu64bit_capable`
44
55if [ "x$cputype" != "x7" ] # x86
66then