aboutsummaryrefslogtreecommitdiff
path: root/osx-resources
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-02-24 14:05:53 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-02-24 14:05:53 -0800
commite460ab2894c65f9b025cb807c4512ce609ef40b9 (patch)
treec255c44ed809510cfc3a4e078e319461e85d0af4 /osx-resources
parentcae409725fa0a71dd3f9ce2ea2185b050f5d1cb0 (diff)
downloadpandoc-e460ab2894c65f9b025cb807c4512ce609ef40b9.tar.gz
osx InstallationCheck script: use full path for sysctl.
Thanks to jonahbull for the suggestion. Closes #580.
Diffstat (limited to 'osx-resources')
-rwxr-xr-xosx-resources/InstallationCheck4
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