From b28b01cf7d657f2ad5106e7681808086a6998736 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Wed, 9 Jan 2013 08:01:19 -0800 Subject: [PATCH] Fixed test on commit id to avoid minor build error message when building on non windows systems from a zip download --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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