diff options
author | Ferry Huberts | 2012-03-18 11:43:50 +0100 |
---|---|---|
committer | Lars Hjemli | 2012-03-18 10:54:50 +0000 |
commit | 561959cffa3de67986d193469b77c8db0d307400 (patch) | |
tree | b849ba81862cad5f2e728daae7a75d9d326fee1f /tests | |
parent | tests: handle paths with whitespace (diff) | |
download | cgit-561959cffa3de67986d193469b77c8db0d307400.tar.gz cgit-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 'tests')
-rwxr-xr-x | tests/setup.sh | 2 |
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() { | |||
22 | count=$2 | 22 | count=$2 |
23 | dir=$PWD | 23 | dir=$PWD |
24 | test -d "$name" && return | 24 | test -d "$name" && return |
25 | printf "Creating testrepo %s\n" $name | 25 | printf "Creating testrepo %s\n" "$name" |
26 | mkdir -p "$name" | 26 | mkdir -p "$name" |
27 | cd "$name" | 27 | cd "$name" |
28 | git init | 28 | git init |