From e460ab2894c65f9b025cb807c4512ce609ef40b9 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 24 Feb 2013 14:05:53 -0800 Subject: osx InstallationCheck script: use full path for sysctl. Thanks to jonahbull for the suggestion. Closes #580. --- osx-resources/InstallationCheck | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'osx-resources') diff --git a/osx-resources/InstallationCheck b/osx-resources/InstallationCheck index 4149b4c31..2bd691f5c 100755 --- a/osx-resources/InstallationCheck +++ b/osx-resources/InstallationCheck @@ -1,6 +1,6 @@ #!/bin/sh -cputype=`sysctl -n hw.cputype` -sixtyfourbit=`sysctl -n hw.cpu64bit_capable` +cputype=`/usr/sbin/sysctl -n hw.cputype` +sixtyfourbit=`/usr/sbin/sysctl -n hw.cpu64bit_capable` if [ "x$cputype" != "x7" ] # x86 then -- cgit v1.2.3