make_osx_package: Call zip file pandoc-VERSION-osx.zip.

The zip should not be named SOMETHING.pkg.zip, or OSX finder
will extract it into a folder named SOMETHING.pkg, which it
will interpret as a defective package.

Closes #1308.
This commit is contained in:
John MacFarlane 2014-05-16 21:51:25 -07:00
parent efe650dc0f
commit 06da7be1fd

View file

@ -76,8 +76,8 @@ sudo codesign --force --sign "$CODESIGNID" $BASE.pkg
spctl --assess --type install $BASE.pkg spctl --assess --type install $BASE.pkg
echo Creating zip... echo Creating zip...
zip -9 -r $BASE.pkg.zip $BASE.pkg zip -9 -r $BASE-osx.zip $BASE.pkg
zip -9 -j -r $BASE.pkg.zip $OSX/uninstall-pandoc.pl zip -9 -j -r $BASE-osx.zip $OSX/uninstall-pandoc.pl
# echo Creating disk image... # echo Creating disk image...
# sudo hdiutil create "$BASE.dmg" \ # sudo hdiutil create "$BASE.dmg" \