Permalink
Browse files

osx InstallationCheck script: use full path for sysctl.

Thanks to jonahbull for the suggestion.  Closes #580.
  • Loading branch information...
1 parent cae4097 commit e460ab2894c65f9b025cb807c4512ce609ef40b9 John MacFarlane committed Feb 24, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 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

0 comments on commit e460ab2

Please sign in to comment.