]> sjero.net Git - wget/commitdiff
Ignore failure from "hg id".
authorMicah Cowan <micah@cowan.name>
Tue, 9 Oct 2007 23:18:24 +0000 (16:18 -0700)
committerMicah Cowan <micah@cowan.name>
Tue, 9 Oct 2007 23:18:24 +0000 (16:18 -0700)
src/Makefile.am

index ac52ee6008f259b7e253779c206ed5a3bf1beb6b..3737088bd8ff10681acf1823478574e8148afdb8 100644 (file)
@@ -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