add "|| true" otherwise "set -e" kills us if the repo is clean

This commit is contained in:
Jérôme Petazzoni 2013-08-09 16:47:07 -07:00
parent bdbac9f7a1
commit d750060f0c
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ set -x
VERSION=`cat ./VERSION`
GIT_COMMIT=$(git rev-parse --short HEAD)
GIT_CHANGES=$(test -n "`git status --porcelain`" && echo "+CHANGES")
GIT_CHANGES=$(test -n "`git status --porcelain`" && echo "+CHANGES" || true)
# "bundles" indicate the different types of build artifacts: static binary, ubuntu package, etc.