Don't allow a dirty Git tree to fail the make command.
This commit is contained in:
parent
aef602d0e9
commit
6a79d797d2
|
@ -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…
Reference in New Issue