Change a rule added in added b503a2d515e (Makefile: emulate compile in
$(HCO) target better, 2019-09-25) to use one append, instead of ">"
followed by a ">>".
Signed-off-by: Ævar Arnfjörð Bjarmason <redacted>
---
Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 5b09f67aab0..ce4063a031a 100644
--- a/Makefile
+++ b/Makefile
@@ -2914,8 +2914,10 @@ HCO = $(patsubst %.h,%.hco,$(CHK_HDRS))
HCC = $(HCO:hco=hcc)
%.hcc: %.h
- @echo '#include "git-compat-util.h"' >$@
- @echo '#include "$<"' >>$@
+ @{ \
+ echo '#include "git-compat-util.h"'; \
+ echo '#include "$<"'; \
+ } >$@
$(HCO): %.hco: %.hcc FORCE
$(QUIET_HDR)$(CC) $(ALL_CFLAGS) -o /dev/null -c -xc $<--
2.33.0.1098.gf02a64c1a2d