make_osx_package.sh: removed executable signing.

We just sign the pkg now.

For some reason we were getting "obsolete resource envelope"
in signing executables.  This seems to be documented here
http://stackoverflow.com/questions/25152451/are-mac-app-store-code-sign-resource-envelopes-always-version-1
and seems to be an El Capitan regression.  Until a solution
is found, we'll just sign the pkg.
This commit is contained in:
John MacFarlane 2016-06-04 14:01:40 -07:00
parent 5ef8498618
commit 6b85783870

View file

@ -51,11 +51,14 @@ chown -R $ME:staff $DIST
echo Copying license...
osx/pandoc --data data -t html5 -s COPYING -o $RESOURCES/license.html
echo Signing pandoc executable...
# Removing executable signing because of a problem that arose in El Capitan
# "source=obsolete resource envelope"
codesign --force --sign "${DEVELOPER_ID_APPLICATION}" $DEST/bin/pandoc
#echo Signing pandoc executable...
#codesign --force --sign "${DEVELOPER_ID_APPLICATION}" $DEST/bin/pandoc
# make sure it's valid... returns nonzero exit code if it isn't:
spctl --assess --type execute $DEST/bin/pandoc
#spctl --assess --type execute $DEST/bin/pandoc
echo Creating OSX package...
# remove old package first