summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLUtils.pm
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-03-03 23:59:50 +0000
committerKarl Berry <karl@freefriends.org>2021-03-03 23:59:50 +0000
commitd8eb2e947e1d6031835746072e88e134b9585fff (patch)
tree96ef7909ce5f9261d0092aa794b191c2cfd4c46a /Master/tlpkg/TeXLive/TLUtils.pm
parent201ffdd5ea5ef85be61d59ae752cec3073a5db28 (diff)
(platform_name): check for darwin $os_major == 10.
git-svn-id: svn://tug.org/texlive/trunk@58101 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive/TLUtils.pm')
-rw-r--r--Master/tlpkg/TeXLive/TLUtils.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm
index aa8202dca88..e8c75391db4 100644
--- a/Master/tlpkg/TeXLive/TLUtils.pm
+++ b/Master/tlpkg/TeXLive/TLUtils.pm
@@ -363,7 +363,7 @@ sub platform_name {
if ($os_major >= 11 || $os_minor >= $mactex_darwin) {
$CPU = "universal";
$OS = "darwin";
- } elsif ($os_major <= 10 && $os_minor >= 6 && $os_minor < $mactex_darwin) {
+ } elsif ($os_major == 10 && $6 <= $os_minor && $os_minor < $mactex_darwin){
# in between, x86 hardware only. On 10.6 only, must check if 64-bit,
# since if later than that, always 64-bit.
my $is64 = $os_minor == 6
@@ -424,7 +424,7 @@ sub platform_desc {
'powerpc-linux' => 'GNU/Linux on PowerPC',
'sparc-linux' => 'GNU/Linux on Sparc',
'sparc-solaris' => 'Solaris on Sparc',
- 'universal-darwin' => 'MacOSX current (10.13-) on ARM/x86_64',
+ 'universal-darwin' => 'MacOSX current (10.14-) on ARM/x86_64',
'win32' => 'Windows',
'x86_64-cygwin' => 'Cygwin on x86_64',
'x86_64-darwinlegacy' => 'MacOSX legacy (10.6-) on x86_64',