mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
make_osx_package.sh: Add quotes around env variable.
This commit is contained in:
+2
-2
@@ -53,7 +53,7 @@ $LOCALBIN/pandoc --data data -t html5 -s COPYING -o $RESOURCES/license.html
|
||||
|
||||
echo Signing pandoc executable...
|
||||
|
||||
codesign --force --sign ${DEVELOPER_ID_APPLICATION} $DEST/bin/pandoc
|
||||
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
|
||||
|
||||
@@ -62,7 +62,7 @@ echo Creating OSX package...
|
||||
rm -rf $BASE.pkg
|
||||
|
||||
pkgbuild --root $DIST/pandoc --identifier net.johnmacfarlane.pandoc --version 1.13 --ownership recommended $DIST/pandoc.pkg
|
||||
productbuild --distribution osx/distribution.xml --resources $DIST/Resources --package-path $DIST --version $VERSION --sign ${DEVELOPER_ID_INSTALLER} $BASE-osx.pkg
|
||||
productbuild --distribution osx/distribution.xml --resources $DIST/Resources --package-path $DIST --version $VERSION --sign "${DEVELOPER_ID_INSTALLER}" $BASE-osx.pkg
|
||||
|
||||
# verify signature
|
||||
spctl --assess --type install $BASE-osx.pkg
|
||||
|
||||
Reference in New Issue
Block a user