t5700-clone-reference: Quote $U
The new "trash directory" bites again. Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Johannes Sixt committed
May 27, 2008 at 09:36 UTC
cb418b5a3882007616e00bc17b22e8653613ad5f
1 file changed
+3
-3
t/t5700-clone-reference.sh
+3
-3
@@ -52,13 +52,13 @@ diff expected current'
52
53
cd "$base_dir"
54
55
-rm -f $U
55
+rm -f "$U"
56
57
test_expect_success 'cloning with reference (no -l -s)' \
58
-'GIT_DEBUG_SEND_PACK=3 git clone --reference B "file://$(pwd)/A" D 3>$U'
58
+'GIT_DEBUG_SEND_PACK=3 git clone --reference B "file://$(pwd)/A" D 3>"$U"'
59
60
test_expect_success 'fetched no objects' \
61
-'! grep "^want" $U'
61
+'! grep "^want" "$U"'
62
63
cd "$base_dir"
64