]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blobdiff - misc/build_helpers/build-osx-pkg.sh
Move computation of Tahoe version from Makefile to build-osx-pkg.sh. refs #2393
[tahoe-lafs/tahoe-lafs.git] / misc / build_helpers / build-osx-pkg.sh
index d063a830f7a2136898c5edc6d51e117b6f76a022..452dc4b731a026e701d5cfa944d813656e9039ff 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 APPNAME=$1
-VERSION=$2
+VERSION=`sh -c "cat src/allmydata/_version.py | grep verstr | head -n 1 | cut -d' ' -f 3"`
 PWD=`pwd`
 
 # The editing of allmydata-tahoe.egg-link and easy-install.pth files