Merge branch 'bw/diff-metainfo-color'
[gitweb.git] / t / t5700-clone-reference.sh
index 0112c218e0ebcd67fede154f59a82a1a5b6a4aec..1c109160690d273451f7a089be42e45f36a3b5bb 100755 (executable)
@@ -52,13 +52,13 @@ diff expected current'
 
 cd "$base_dir"
 
-rm -f $U
+rm -f "$U"
 
 test_expect_success 'cloning with reference (no -l -s)' \
-'GIT_DEBUG_SEND_PACK=3 git clone --reference B file://`pwd`/A D 3>$U'
+'GIT_DEBUG_SEND_PACK=3 git clone --reference B "file://$(pwd)/A" D 3>"$U"'
 
 test_expect_success 'fetched no objects' \
-'! grep "^want" $U'
+'! grep "^want" "$U"'
 
 cd "$base_dir"