]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t3050-subprojects-fetch.sh
Fix tests breaking when checkout path contains shell metacharacters
[thirdparty/git.git] / t / t3050-subprojects-fetch.sh
index 2b21b1070d6b8f864aee0049d5cb2dccef0daa46..4261e9641e00fb3b543384b6a8dbbcc1a214b598 100755 (executable)
@@ -20,7 +20,7 @@ test_expect_success setup '
 '
 
 test_expect_success clone '
-       git clone file://`pwd`/.git cloned &&
+       git clone "file://$(pwd)/.git" cloned &&
        (git rev-parse HEAD; git ls-files -s) >expected &&
        (
                cd cloned &&