]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jc/makefile-redirection-stderr'
authorJunio C Hamano <gitster@pobox.com>
Wed, 13 Apr 2016 21:12:37 +0000 (14:12 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 13 Apr 2016 21:12:38 +0000 (14:12 -0700)
A minor fix in the Makefile.

* jc/makefile-redirection-stderr:
  Makefile: fix misdirected redirections

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