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

Upstream-commit: d750060f0c39db4b88f14aa413fc1f81706a4373
Component: engine
This commit is contained in:
Jérôme Petazzoni
2013-08-20 19:35:30 -07:00
parent 611ecad7e3
commit 7a66148c26
+1 -1
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.