summaryrefslogtreecommitdiff
path: root/make_osx_package.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make_osx_package.sh')
-rwxr-xr-xmake_osx_package.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/make_osx_package.sh b/make_osx_package.sh
index 0df8a6936..4e1acc81d 100755
--- a/make_osx_package.sh
+++ b/make_osx_package.sh
@@ -34,6 +34,8 @@ cp COPYING $RESOURCES/License.txt
echo Signing pandoc executable...
codesign --force --sign "$CODESIGNID" $ROOT/usr/local/bin/pandoc
+# make sure it's valid... returns nonzero exit code if it isn't:
+spctl --assess --type execute $ROOT/usr/local/bin/pandoc
echo Creating OSX package...
@@ -49,6 +51,8 @@ sudo $PACKAGEMAKER \
echo Signing package...
sudo codesign --force --sign "$CODESIGNID" $BASE.pkg
+# make sure it's valid...
+spctl --assess --type install $BASE.pkg
echo Creating disk image...