Don't allow a dirty Git tree to fail the make command.

This commit is contained in:
Steven Merrill 2013-07-09 01:24:19 -04:00
parent aef602d0e9
commit 6a79d797d2
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ cd $DIR
# Get the git commit
GIT_COMMIT=$(git rev-parse --short HEAD)
GIT_DIRTY=$(test -n "`git status --porcelain`" && echo "+CHANGES")
GIT_DIRTY=$(test -n "`git status --porcelain`" && echo "+CHANGES" || true)
# Compile the main Packer app
echo -e "${OK_COLOR}--> Compiling Packer${NO_COLOR}"