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).
This commit is contained in:
Ramakrishnan Muthukrishnan 2015-04-11 14:35:18 +05:30
parent 0bd2444c93
commit c88deb40ba

View File

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