aboutsummaryrefslogtreecommitdiff
path: root/make_osx_package.sh
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-01-10 16:47:30 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2016-01-10 16:48:46 -0800
commit6936a6a4e7c4fedae37c464c9bf63b90e429f30a (patch)
tree594c7b8bc3d3d847993036efe00aae8e38cdba4d /make_osx_package.sh
parenta41210463654893b0bf8b672256f36846d16fd5c (diff)
downloadpandoc-6936a6a4e7c4fedae37c464c9bf63b90e429f30a.tar.gz
osx package fixes: correct version, allow installation to any drive.
Diffstat (limited to 'make_osx_package.sh')
-rwxr-xr-xmake_osx_package.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/make_osx_package.sh b/make_osx_package.sh
index 320c3fead..16cddcb0c 100755
--- a/make_osx_package.sh
+++ b/make_osx_package.sh
@@ -60,7 +60,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 1.13 --sign "Developer ID Installer: John Macfarlane" $BASE-osx.pkg
+productbuild --distribution osx/distribution.xml --resources $DIST/Resources --package-path $DIST --version $VERSION --sign "Developer ID Installer: John Macfarlane" $BASE-osx.pkg
# verify signature
spctl --assess --type install $BASE-osx.pkg