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

pull/157/head
Steven Merrill 13 years ago
parent 207c15b91b
commit c80b1bb75d

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

Loading…
Cancel
Save