diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2013-02-24 14:05:53 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2013-02-24 14:05:53 -0800 |
commit | e460ab2894c65f9b025cb807c4512ce609ef40b9 (patch) | |
tree | c255c44ed809510cfc3a4e078e319461e85d0af4 | |
parent | cae409725fa0a71dd3f9ce2ea2185b050f5d1cb0 (diff) | |
download | pandoc-e460ab2894c65f9b025cb807c4512ce609ef40b9.tar.gz |
osx InstallationCheck script: use full path for sysctl.
Thanks to jonahbull for the suggestion. Closes #580.
-rwxr-xr-x | osx-resources/InstallationCheck | 4 |
1 files changed, 2 insertions, 2 deletions
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 |