diff --git a/Makefile b/Makefile index 096d582a7..7d75804cd 100644 --- a/Makefile +++ b/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