threads / patch / 2687

patcht9105-fetch-local: quote path created with pwd

Subject: [PATCH] t9105-fetch-local: quote path created with pwd

## tl;dr

One message between Nov 27, 2005 and Nov 27, 2005. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Jonas Fonseca· Nov 27, 2005, 20:05 UTC · lore
Small fix to let it work when pwd contains spaces.
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
---
Show changes to t/t9105-fetch-local.sh +1 −1
diff --git a/t/t9105-fetch-local.sh b/t/t9105-fetch-local.sh
index a309693..35e2778 100755
--- a/t/t9105-fetch-local.sh
+++ b/t/t9105-fetch-local.sh
@@ -35,7 +35,7 @@ test_expect_success 'symlinked clone of 
 rm -rf repo2
 mkdir repo2
 test_expect_success 'clone in-current-dir repo2 from $(pwd)/../repo1/../repo1.git/' \
-	'(cd repo2 && cg-clone -s $(pwd)/../repo1/../repo1.git/)'
+	'(cd repo2 && cg-clone -s "$(pwd)/../repo1/../repo1.git/")'
 
 echo file1v2 >repo1/file1
 test_expect_success 'commit in repo1' \
 
-- 
Jonas Fonseca

← back to recent threads