Additionally quote vars in appimage/build.sh
This commit is contained in:
parent
efaa63c14c
commit
dc57f71353
|
@ -8,7 +8,7 @@ git remote add -f upstream https://github.com/Bitmessage/PyBitmessage.git
|
||||||
HEAD="$(git rev-parse HEAD)"
|
HEAD="$(git rev-parse HEAD)"
|
||||||
UPSTREAM="$(git merge-base --fork-point upstream/v0.6)"
|
UPSTREAM="$(git merge-base --fork-point upstream/v0.6)"
|
||||||
export APP_VERSION=$(git describe --tags | cut -d- -f1,3 | tr -d v)
|
export APP_VERSION=$(git describe --tags | cut -d- -f1,3 | tr -d v)
|
||||||
[ $HEAD != $UPSTREAM ] && APP_VERSION="${APP_VERSION}-alpha"
|
[ "$HEAD" != "$UPSTREAM" ] && APP_VERSION="${APP_VERSION}-alpha"
|
||||||
|
|
||||||
function set_sourceline {
|
function set_sourceline {
|
||||||
if [ ${ARCH} == amd64 ]; then
|
if [ ${ARCH} == amd64 ]; then
|
||||||
|
|
Reference in New Issue
Block a user