diff options
Diffstat (limited to 'texmf-dist/scripts/cjk-gs-integrate-macos/cjk-gs-integrate-macos.pl')
-rwxr-xr-x | texmf-dist/scripts/cjk-gs-integrate-macos/cjk-gs-integrate-macos.pl | 18 |
1 files changed, 8 insertions, 10 deletions
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"); } |