mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Ignore failure from "hg id".
This commit is contained in:
parent
181c613814
commit
2681148154
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user