Move computation of Tahoe version from Makefile to build-osx-pkg.sh. refs #2393

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2015-03-24 16:41:43 +00:00
parent 610ba0e69b
commit 61f3d5ae13
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ build:
# Build OS X pkg packages.
.PHONY: build-osx-pkg test-osx-pkg upload-osx-pkg
build-osx-pkg: build
misc/build_helpers/build-osx-pkg.sh $(APPNAME) $(shell sh -c "cat src/allmydata/_version.py | grep verstr | head -n 1 | cut -d' ' -f 3")
misc/build_helpers/build-osx-pkg.sh $(APPNAME)
test-osx-pkg:
$(PYTHON) misc/build_helpers/test-osx-pkg.py

View File

@ -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