From 1e95da670632d2f8d6ec5ff5d7f1fb362f5b0577 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 7 Dec 2020 12:43:45 +0900 Subject: cjk-gs-integrate-macos 20201206 --- .../cjk-gs-integrate-macos/cjk-gs-integrate-macos.pl | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'texmf-dist/scripts/cjk-gs-integrate-macos/cjk-gs-integrate-macos.pl') diff --git a/texmf-dist/scripts/cjk-gs-integrate-macos/cjk-gs-integrate-macos.pl b/texmf-dist/scripts/cjk-gs-integrate-macos/cjk-gs-integrate-macos.pl index 088bc5ab..5068963f 100755 --- a/texmf-dist/scripts/cjk-gs-integrate-macos/cjk-gs-integrate-macos.pl +++ b/texmf-dist/scripts/cjk-gs-integrate-macos/cjk-gs-integrate-macos.pl @@ -48,15 +48,13 @@ if (macosx()) { $addname = "elcapitan"; } elsif ($macos_ver_minor==12) { $addname = "sierra"; - } elsif ($macos_ver_minor==13) { - $addname = "highsierra"; - } elsif ($macos_ver_minor==14) { - $addname = "highsierra"; # mojave - } elsif ($macos_ver_minor==15) { - $addname = "highsierra"; # catalina -- at least nothing is wrong - } elsif ($macos_ver_minor>=16) { - print STDERR "Warning: macOS 10.$macos_ver_minor is untested.\n"; - $addname = "highsierra"; # (the most recent one) + } elsif ($macos_ver_minor>=13) { + $addname = "highsierra"; # macOS 10.x was ended with x=15 (catalina) + } + } elsif ($macos_ver_major==11) { + if ($macos_ver_minor==0) { + print STDERR "Warning: macOS 11.$macos_ver_minor is untested.\n"; + $addname = "highsierra"; # big sur -- new major version } } } @@ -67,7 +65,7 @@ push @newarg, @ARGV; if (-f "cjk-gs-integrate.pl") { system("perl cjk-gs-integrate.pl @newarg"); } else { - system("cjk-gs-integrate @newarg"); + system("cjk-gs-integrate @newarg"); } -- cgit v1.2.3