Skip to contentSkip to conversation

t9105-fetch-local: quote path created with pwd

PATCH New Jonas Fonseca 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 t9105-fetch-local: quote path created with pwd

Small fix to let it work when pwd contains spaces.

---

t/t9105-fetch-local.sh +1 -1
index a309693..35e2778 100755
@@ -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' \
Signature · 1 line
Jonas Fonseca