diff options
author | Norbert Preining <norbert@preining.info> | 2019-03-04 06:21:39 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-03-04 06:21:39 +0900 |
commit | c91a720c45d5da0d99fd41872d3c8d6ebfd45d44 (patch) | |
tree | 2d47ae879ba78871d4f924ba9ef4eb89c487a931 /texmf-dist/scripts | |
parent | 35c9db455515242ae6143947097bd342d72b22f5 (diff) |
cjk-gs-integrate-macos 20190303.0
Diffstat (limited to 'texmf-dist/scripts')
-rwxr-xr-x | texmf-dist/scripts/cjk-gs-integrate-macos/cjk-gs-integrate-macos.pl | 9 |
1 files changed, 8 insertions, 1 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 074723f5..5e05ae47 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 @@ -2,7 +2,7 @@ # # cjk-gs-integrate-macos - wrapper for cjk-gs-integrate on macOS # -# Copyright 2017-2018 by Japanese TeX Development Community +# Copyright 2017-2019 by Japanese TeX Development Community # # This file is licensed under GPL version 3 or any later version. # For copyright statements see end of file. @@ -35,6 +35,8 @@ if (macosx()) { $macos_ver_major =~ s/^(\d+)\.(\d+).*/$1/; my $macos_ver_minor = $macos_ver; $macos_ver_minor =~ s/^(\d+)\.(\d+).*/$2/; + chomp($macos_ver_major); + chomp($macos_ver_minor); if ($macos_ver_major==10) { if ($macos_ver_minor==8) { $addname = "mountainlion"; @@ -48,6 +50,11 @@ if (macosx()) { $addname = "sierra"; } elsif ($macos_ver_minor==13) { $addname = "highsierra"; + } elsif ($macos_ver_minor==14) { + $addname = "highsierra"; # mojave + } elsif ($macos_ver_minor>=15) { + print STDERR "Warning: macOS 10.$macos_ver_minor is untested.\n"; + $addname = "highsierra"; # (the most recent one) } } } |