aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-03-19 18:13:27 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2016-03-19 18:13:27 -0700
commit1f5c1b9fc95c31cd69d728fab8ea5b07ecdb9dd9 (patch)
treed01b949d8cdd7e0062e31561c37dc2149eb53029
parent2e2298abf3d51050d0c04e5d6c544a8fe0905ecf (diff)
downloadpandoc-1f5c1b9fc95c31cd69d728fab8ea5b07ecdb9dd9.tar.gz
make_osx_package.sh: Add quotes around env variable.
-rwxr-xr-xmake_osx_package.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/make_osx_package.sh b/make_osx_package.sh
index 89f97025b..53687a6d7 100755
--- a/make_osx_package.sh
+++ b/make_osx_package.sh
@@ -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