aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2013-04-04 09:36:16 -0600
committerJunio C Hamano <gitster@pobox.com>2013-04-04 09:35:00 -0700
commitafeb525980e2a7d2f01e4611f61080fbeac18411 (patch)
tree7ef9582f65c9974c63966116e03383d0af431957 /contrib
parentcc3e4eba723570bf77902c017611ee02bb86c8b3 (diff)
downloadgit-afeb525980e2a7d2f01e4611f61080fbeac18411.tar.gz
git-afeb525980e2a7d2f01e4611f61080fbeac18411.tar.xz
remote-bzr: avoid echo -n
It's not portable, as reported by test-lint. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/remote-helpers/test-bzr.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/remote-helpers/test-bzr.sh b/contrib/remote-helpers/test-bzr.sh
index 70aa8a010..b81052b61 100755
--- a/contrib/remote-helpers/test-bzr.sh
+++ b/contrib/remote-helpers/test-bzr.sh
@@ -136,7 +136,7 @@ test_expect_success 'special modes' '
(cd gitrepo &&
git cat-file -p HEAD:link > ../actual) &&
- echo -n content > expected &&
+ printf content > expected &&
test_cmp expected actual
'