From 2681148154e8f3225140bb6048145d7ea5fb430c Mon Sep 17 00:00:00 2001 From: Micah Cowan Date: Tue, 9 Oct 2007 16:18:24 -0700 Subject: [PATCH] Ignore failure from "hg id". --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index ac52ee60..3737088b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -52,7 +52,7 @@ HG_ID = $(shell hg id 2>/dev/null | cut -f 1 -d ' ') .PHONY: version.c version.c: printf '%s' 'const char *version_string = "@VERSION@' > $@ - [ "$(HG_ID)" ] && printf '%s' ' ($(HG_ID))' >> $@ + -[ "$(HG_ID)" ] && printf '%s' ' ($(HG_ID))' >> $@ printf '%s\n' '";' >> $@ check_LIBRARIES = libunittest.a -- 2.39.2