From: Junio C Hamano Date: Wed, 13 Apr 2016 21:12:37 +0000 (-0700) Subject: Merge branch 'jc/makefile-redirection-stderr' X-Git-Tag: v2.9.0-rc0~121 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/8c9dec985eb5429a1116230bac5c3200b5c4d324?hp=cafef3d7ad3ed58d9c976bdeb604cff6b4c1f82b Merge branch 'jc/makefile-redirection-stderr' A minor fix in the Makefile. * jc/makefile-redirection-stderr: Makefile: fix misdirected redirections --- diff --git a/Makefile b/Makefile index 2742a6977c..c7354bf2ad 100644 --- 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