summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLUtils.pm
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-02-24 18:27:49 +0000
committerKarl Berry <karl@freefriends.org>2021-02-24 18:27:49 +0000
commita360890a6c2a4befab6b48084d0731ad09c46631 (patch)
treea4ba78e23d40a984e871a8f53718d60b965c98af /Master/tlpkg/TeXLive/TLUtils.pm
parent5f6231423ff11a042181be707faa0db6012b8e35 (diff)
2021 pretest setup
git-svn-id: svn://tug.org/texlive/trunk@57875 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive/TLUtils.pm')
-rw-r--r--Master/tlpkg/TeXLive/TLUtils.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm
index 55fd9ac3143..718df5eae0a 100644
--- a/Master/tlpkg/TeXLive/TLUtils.pm
+++ b/Master/tlpkg/TeXLive/TLUtils.pm
@@ -342,13 +342,13 @@ sub platform_name {
# We have two versions of Mac binary sets.
# 10.x and newer -> x86_64-darwin [MacTeX]
# 10.6/Snow Leopard through 10.x -> x86_64-darwinlegacy, if 64-bit
- # x changes every year. In 2020 (Big Sur) Apple started with 11.x.
+ # x changes every year. As of TL 2021 (Big Sur) Apple started with 11.x.
#
# (BTW, uname -r numbers are larger by 4 than the Mac minor version.
# We don't use uname numbers here.)
#
# this changes each year, per above:
- my $mactex_darwin = 13; # lowest minor rev supported by x86_64-darwin.
+ my $mactex_darwin = 14; # lowest minor rev supported by x86_64-darwin.
#
# Most robust approach is apparently to check sw_vers (os version,
# returns "10.x" values), and sysctl (processor hardware).
@@ -359,7 +359,7 @@ sub platform_name {
. " (from sw_vers -productVersion: $sw_vers)\n";
return "unknownmac-unknownmac";
}
- if ($os_major >= 11) {
+ if ($os_major >= 11) { # have to refine after enough years
$CPU = "x86_64";
$OS = "darwin";
} elsif ($os_minor >= $mactex_darwin) {