diff --git a/makefile b/makefile index e07702f3..16317b51 100644 --- a/makefile +++ b/makefile @@ -296,7 +296,7 @@ ifeq ($(WIN32),) #*nix Environments (&& cygwin) ifneq (binexists,$(shell if $(TEST) -e BIN; then echo binexists; fi)) MKDIRBIN = mkdir -p BIN endif - ifneq (,$(shell cat .git-commit-id)) + ifneq (,$(shell if $(TEST) -e .git-commit-id; then echo commit-id-exists; fi)) GIT_COMMIT_ID=$(shell cat .git-commit-id) endif else