From c88deb40baa2cc20a2cf55d2571e92a06162987c Mon Sep 17 00:00:00 2001 From: Ramakrishnan Muthukrishnan Date: Sat, 11 Apr 2015 14:35:18 +0530 Subject: [PATCH] strip the single quotes around $VERSION Without stripping the single quotes, the generated pagkage filename also has the undesired single quotes around the version string. (eg: tahoe-lafs-'1.10.0.post309'-osx.pkg). --- misc/build_helpers/build-osx-pkg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/build_helpers/build-osx-pkg.sh b/misc/build_helpers/build-osx-pkg.sh index fe89cf69..52f01098 100755 --- a/misc/build_helpers/build-osx-pkg.sh +++ b/misc/build_helpers/build-osx-pkg.sh @@ -1,7 +1,7 @@ #!/bin/sh APPNAME=$1 -VERSION=`sh -c "cat src/allmydata/_version.py | grep verstr | head -n 1 | cut -d' ' -f 3"` +VERSION=`sh -c "cat src/allmydata/_version.py | grep verstr | head -n 1 | cut -d' ' -f 3" | sed "s/'//g"` PWD=`pwd` # The editing of allmydata-tahoe.egg-link and easy-install.pth files -- 2.45.2