]> gitweb.ps.run Git - ps-cgit/blobdiff - tests/setup.sh
tests: check that Git version are in sync
[ps-cgit] / tests / setup.sh
index b21908d10bbc7530e2f19e26b24f3d66ecf7510b..e3c6c17a307ee49863147f4bc96ae1170c42388c 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
@@ -41,7 +41,7 @@ mkrepo() {
                git commit -m "add a+b"
                git branch "1+2"
        fi
-       cd $dir
+       cd "$dir"
 }
 
 setup_repos()