summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-20 22:45:11 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-20 22:45:11 -0800
commit678dafbe67abe211a7934865779ca5df8a6e65b8 (patch)
tree1863cc4041e4b78e7a81754e449c93085873c25f
parent78dda16d1c1f09210bf802c585ca484dede70817 (diff)
downloadsubsurface-678dafbe67abe211a7934865779ca5df8a6e65b8.tar.gz
Update MacOS make-package script
The three digit number is needed for the Info.plist, not for the dmg and volume names. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rwxr-xr-xpackaging/macosx/make-package.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/packaging/macosx/make-package.sh b/packaging/macosx/make-package.sh
index 2cce83816..4bddbbe13 100755
--- a/packaging/macosx/make-package.sh
+++ b/packaging/macosx/make-package.sh
@@ -24,7 +24,10 @@ PREFIX=/Applications/Subsurface.app/Contents/Resources
INFOPLIST=./packaging/macosx/Info.plist
# same git version magic as in the Makefile
-VERSION=$(./scripts/get-version darwin)
+# for the naming of volume and dmg we don't need the "always 3 digits"
+# darwin version - the 'regular' version that has 2 digits for releases
+# is better
+VERSION=$(./scripts/get-version linux)
# gtk-mac-bundler allegedly supports signing by setting this environment
# variable, but this fails as we change the shared objects below and all