Preserve directory structure for pkg.
This commit is contained in:
John MacFarlane 2014-05-14 14:23:17 -07:00
parent 8b9fafc0e4
commit 256390b3f9

View file

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