about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFerry Huberts <ferry.huberts@pelagic.nl>2012-03-18 11:43:50 +0100
committerLars Hjemli <hjemli@gmail.com>2012-03-18 10:54:50 +0000
commit561959cffa3de67986d193469b77c8db0d307400 (patch)
treeb849ba81862cad5f2e728daae7a75d9d326fee1f
parenttests: handle paths with whitespace (diff)
downloadcgit-pink-561959cffa3de67986d193469b77c8db0d307400.tar.gz
cgit-pink-561959cffa3de67986d193469b77c8db0d307400.zip
tests: properly quote arguments to printf
v2: incorporate remarks of Lukas

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Diffstat (limited to '')
-rwxr-xr-xtests/setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/setup.sh b/tests/setup.sh
index f5774e3..651f940 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