summaryrefslogtreecommitdiff
path: root/make_osx_package.sh
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2014-05-14 14:23:17 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2014-05-14 14:23:17 -0700
commit256390b3f9f535bd29105e73855a6220669a8193 (patch)
treee5a97e2c9acbb107e9391c9ff8e0a2bbe08c4df9 /make_osx_package.sh
parent8b9fafc0e482617c9b0011c8ddb672c6b272f247 (diff)
Fixed 034cd4bb214a30de3739c756eab428d5fbe617cc.
Preserve directory structure for pkg.
Diffstat (limited to 'make_osx_package.sh')
-rwxr-xr-xmake_osx_package.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/make_osx_package.sh b/make_osx_package.sh
index f546396b7..7e9d10c0e 100755
--- a/make_osx_package.sh
+++ b/make_osx_package.sh
@@ -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" \