Skip to content

Commit

Permalink
Don't allow a dirty Git tree to fail the make command.
Browse files Browse the repository at this point in the history
  • Loading branch information
smerrill committed Jul 9, 2013
1 parent aef602d commit 6a79d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 6a79d79

Please sign in to comment.