Merge branch 'jk/branch-shortening-funny-symrefs' into maint
[gitweb.git] / Makefile
index 2742a6977c6ad871897bc758ea2a7d76359b1eee..c7354bf2adc626926a276fd49e874dbfa1081ad8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -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