Merge branch 'jc/makefile-redirection-stderr'

A minor fix in the Makefile.

* jc/makefile-redirection-stderr:
  Makefile: fix misdirected redirections
This commit is contained in:
Junio C Hamano 2016-04-13 14:12:37 -07:00
commit 8c9dec985e

View File

@ -2263,10 +2263,10 @@ sparse: $(SP_OBJ)
check: common-cmds.h
@if sparse; \
then \
echo 2>&1 "Use 'make sparse' instead"; \
echo >&2 "Use 'make sparse' instead"; \
$(MAKE) --no-print-directory sparse; \
else \
echo 2>&1 "Did you mean 'make test'?"; \
echo >&2 "Did you mean 'make test'?"; \
exit 1; \
fi