[PATCH v2 2/2] tests: properly quote arguments to printf

Ferry Huberts mailings at hupie.com
Tue Mar 6 23:26:41 CET 2012


From: Ferry Huberts <ferry.huberts at pelagic.nl>

v2: incorporate remarks of Lukas

Signed-off-by: Ferry Huberts <ferry.huberts at pelagic.nl>
---
 tests/setup.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/setup.sh b/tests/setup.sh
index 18fae22..e3c6c17 100755
--- a/tests/setup.sh
+++ b/tests/setup.sh
@@ -22,7 +22,7 @@ mkrepo() {
 	count=$2
 	dir=$PWD
 	test -d "$name" && return
-	printf "Creating testrepo %s\n" $name
+	printf "Creating testrepo %s\n" "$name"
 	mkdir -p "$name"
 	cd "$name"
 	git init
-- 
1.7.7.6





More information about the CGit mailing list