diff options
author | ickc <ickc@users.noreply.github.com> | 2017-08-23 13:48:10 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-08-23 13:48:10 -0700 |
commit | 5c1d844e40b146dd16e88a662368fe1824c46888 (patch) | |
tree | 1df69a45aa73700b6f9c7683a0691c16755c2f7d /macos | |
parent | f297659d508fcb2ba68ff3b071b2a6e85b2f7e4c (diff) | |
download | pandoc-5c1d844e40b146dd16e88a662368fe1824c46888.tar.gz |
Name change OSX -> macOS (#3869)
* Name change OSX -> macOS
fix commit c96b64e
This commit finishes remaining osx to macOS change, as well as replacing MacOS with macOS.
The reason for the later one is because the "correct" casing of macOS is like that. Apple styles it to looks like iOS, watchOS, tvOS, etc. And unfortunately they all start with a lowercase letter, making propercasing (or even title-casing) odd.
* fix casing of Linux, UNIX, and Windows
Diffstat (limited to 'macos')
-rwxr-xr-x | macos/make_macos_package.sh | 6 | ||||
-rwxr-xr-x | macos/uninstall-pandoc.pl | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/macos/make_macos_package.sh b/macos/make_macos_package.sh index f5262e1d5..5b66afd25 100755 --- a/macos/make_macos_package.sh +++ b/macos/make_macos_package.sh @@ -59,15 +59,15 @@ $PANDOC --data data -t html5 -s COPYING.md -Vpagetitle="License" -o $RESOURCES/l # make sure it's valid... returns nonzero exit code if it isn't: #spctl --assess --type execute $DEST/bin/pandoc -echo Creating MacOS package... +echo Creating macOS package... sed -e "s/PANDOCVERSION/$VERSION/" $MACOS/distribution.xml.in > $MACOS/distribution.xml pkgbuild --root $ROOT --identifier net.johnmacfarlane.pandoc --version $VERSION --ownership recommended $DIST/pandoc.pkg -productbuild --distribution $MACOS/distribution.xml --resources $DIST/Resources --package-path $DIST --version $VERSION --sign "${DEVELOPER_ID_INSTALLER}" $BASE-MacOS.pkg +productbuild --distribution $MACOS/distribution.xml --resources $DIST/Resources --package-path $DIST --version $VERSION --sign "${DEVELOPER_ID_INSTALLER}" $BASE-macOS.pkg # verify signature -spctl --assess --type install $BASE-MacOS.pkg +spctl --assess --type install $BASE-macOS.pkg # cleanup rm -r $DIST diff --git a/macos/uninstall-pandoc.pl b/macos/uninstall-pandoc.pl index a5194d9bd..c853727d9 100755 --- a/macos/uninstall-pandoc.pl +++ b/macos/uninstall-pandoc.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl -# Script to remove all files installed by the OSX pandoc installer +# Script to remove all files installed by the macOS pandoc installer # and unregister the package. Modified from a script contributed # by Daniel T. Staal. |