From 12a43fd9420c9d8611843c5370795d488046b688 Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Tue, 21 Apr 2015 11:10:02 -0400 Subject: [PATCH] bugfix: bash substitution of SHORTVERSION was wrong --- scripts/publish-macosx.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/publish-macosx.sh b/scripts/publish-macosx.sh index a891e13e..89c7ef1e 100755 --- a/scripts/publish-macosx.sh +++ b/scripts/publish-macosx.sh @@ -56,7 +56,7 @@ if test -z "$VERSION"; then VERSION=$VERSIONDATE SNAPSHOT=snapshot fi -SHORTVERSION=${VERSION##-} +SHORTVERSION=${VERSION%%-*} # Turn off ccache, just for safety PATH=${PATH//\/opt\/local\/libexec\/ccache:}