]> granicus.if.org Git - cgit/commitdiff
tests: properly quote arguments to printf
authorFerry Huberts <ferry.huberts@pelagic.nl>
Sun, 18 Mar 2012 10:43:50 +0000 (11:43 +0100)
committerLars Hjemli <hjemli@gmail.com>
Sun, 18 Mar 2012 10:54:50 +0000 (10:54 +0000)
v2: incorporate remarks of Lukas

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
tests/setup.sh

index f5774e32c13c58b79fa50892e3f00d2e9877c379..651f9400d657a4510a71576336c7bfcacab95a32 100755 (executable)
@@ -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