From 256390b3f9f535bd29105e73855a6220669a8193 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 14 May 2014 14:23:17 -0700 Subject: Fixed 034cd4bb214a30de3739c756eab428d5fbe617cc. Preserve directory structure for pkg. --- make_osx_package.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" \ -- cgit v1.2.3