Makefile fix

This commit is contained in:
Jarl Friis 2015-09-26 13:31:31 +02:00
parent f2013a9c0c
commit 8ab4a5f3a5

View File

@ -67,7 +67,7 @@ updatedeps:
| grep -v github.com/mitchellh/packer \
| grep -v '/internal/' \
| sort -u \
| xargs go get -f -u -v -d ; if [ $$? -eq 0 ]; then \
| xargs go get -f -u -v -d ; if [ $$? -ne 0 ]; then \
echo "ERROR: go get failed. Your git branch may have changed; you were on $(GITBRANCH) ($(GITSHA))."; \
fi
@if [ "$(GITBRANCH)" != "" ]; then git checkout -q $(GITBRANCH); else git checkout -q $(GITSHA); fi