From fa35cd9a0284e0a50f4a6e0fefe1ecd73302a94c Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Fri, 23 Mar 2012 10:58:37 +0100 Subject: [PATCH] am: Use cat instead of echo to avoid DOS line-endings (fixes t4150) Along the lines of 05d0e3b and f33946d, use cat instead of echo to avoid line ending mismatches in the test result of "am empty-file does not infloop" which make the test fail. Signed-off-by: Sebastian Schuberth --- contrib/examples/git-am.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/examples/git-am.sh b/contrib/examples/git-am.sh index dd539f1a8a..ac2a98e914 100755 --- a/contrib/examples/git-am.sh +++ b/contrib/examples/git-am.sh @@ -188,7 +188,9 @@ It does not apply to blobs recorded in its index.")" } clean_abort () { - test $# = 0 || echo >&2 "$@" + test $# = 0 || cat >&2 <