Browse Source

build: send cmp's stderr to /dev/null also

It was probably a typo to have 2>&2

Changelog-None
travis-debug
Vasil Dimov 5 years ago
committed by neil saitug
parent
commit
820f1b2f9d
  1. 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

Loading…
Cancel
Save