t0003: properly quote $HOME

6df42ab (Add global and system-wide gitattributes, 2010-09-01) forgot
to quote one instance of $HOME in the tests.  This would be valid
according to POSIX, but bash 4 helpfully declines to execute the
command in question with an "ambiguous redirection" error.

Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Thomas Rast 2010-10-18 11:09:54 +02:00 committed by Junio C Hamano
parent 06ac01a46a
commit e806c43537

View File

@ -38,7 +38,7 @@ test_expect_success 'setup' '
) >a/b/.gitattributes
(
echo "global test=global"
) >$HOME/global-gitattributes
) >"$HOME"/global-gitattributes
'