From 5c1d844e40b146dd16e88a662368fe1824c46888 Mon Sep 17 00:00:00 2001 From: ickc Date: Wed, 23 Aug 2017 13:48:10 -0700 Subject: 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 --- macos/make_macos_package.sh | 6 +++--- macos/uninstall-pandoc.pl | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'macos') 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. -- cgit v1.2.3