mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-09 00:54:22 +01:00
build: send cmp's stderr to /dev/null also
It was probably a typo to have 2>&2 Changelog-None
This commit is contained in:
2
Makefile
2
Makefile
@@ -385,7 +385,7 @@ ccan/ccan/cdump/tools/cdump-enumstr.o: $(CCAN_HEADERS) Makefile
|
||||
|
||||
gen_version.h: FORCE
|
||||
@(echo "#define VERSION \"$(VERSION)\"" && echo "#define BUILD_FEATURES \"$(FEATURES)\"") > $@.new
|
||||
@if cmp $@.new $@ >/dev/null 2>&2; then rm -f $@.new; else mv $@.new $@; echo Version updated; fi
|
||||
@if cmp $@.new $@ >/dev/null 2>&1; then rm -f $@.new; else mv $@.new $@; echo Version updated; fi
|
||||
|
||||
# That forces this rule to be run every time, too.
|
||||
gen_header_versions.h: tools/headerversions
|
||||
|
||||
Reference in New Issue
Block a user