summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
authorMojca Miklavec <mojca.miklavec@gmail.com>2013-08-24 18:13:34 +0000
committerMojca Miklavec <mojca.miklavec@gmail.com>2013-08-24 18:13:34 +0000
commit780acd30439ee3365896212f837df84d1b53ff89 (patch)
tree01959ee487233e9094f5a4103d4e36eac3102fd1 /Master/tlpkg
parent46db6809efac2dfe1aa66de15391ff1708ddf6ed (diff)
call /usr/sbin/sysctl on Mac OS X with full path (/usr/sbin might not be in PATH)
git-svn-id: svn://tug.org/texlive/trunk@31509 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rw-r--r--Master/tlpkg/TeXLive/TLUtils.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm
index 59b28bf3cb0..15f229971d6 100644
--- a/Master/tlpkg/TeXLive/TLUtils.pm
+++ b/Master/tlpkg/TeXLive/TLUtils.pm
@@ -299,7 +299,7 @@ sub platform_name {
chomp (my $sw_vers = `sw_vers -productVersion`);
my ($os_major,$os_minor) = split (/\./, $sw_vers);
#
- chomp (my $sysctl = `sysctl hw.cpu64bit_capable`);
+ chomp (my $sysctl = `/usr/sbin/sysctl hw.cpu64bit_capable`);
my (undef,$hw_64_bit) = split (" ", $sysctl);
#
$CPU = ($os_major >= 10 && $os_minor >= 6 && $hw_64_bit >= 1)