summaryrefslogtreecommitdiff
path: root/macosx/generate-pkg.sh
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/generate-pkg.sh')
-rwxr-xr-xmacosx/generate-pkg.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/generate-pkg.sh b/macosx/generate-pkg.sh
index 79647cd2..2fc7ccd1 100755
--- a/macosx/generate-pkg.sh
+++ b/macosx/generate-pkg.sh
@@ -18,7 +18,7 @@ fi
if [ -n "${2}" ]; then
VERSION="${2}"
else
- VERSION=$(cat ../wscript | awk 'sub("VERSION=","")' | tr -d "'")
+ VERSION=$(cat ../wscript | awk 'sub("VERSION = ","")' | head -n 1 | tr -d "'")
fi
rm -f jack2-osx-root.pkg