From: Ramakrishnan Muthukrishnan Date: Sat, 11 Apr 2015 09:05:18 +0000 (+0530) Subject: strip the single quotes around $VERSION X-Git-Tag: allmydata-tahoe-1.10.1a1~43^2 X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/flags/cyclelanguage?a=commitdiff_plain;h=c88deb40baa2cc20a2cf55d2571e92a06162987c;p=tahoe-lafs%2Ftahoe-lafs.git 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). --- 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