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:
parent
06ac01a46a
commit
e806c43537
@ -38,7 +38,7 @@ test_expect_success 'setup' '
|
||||
) >a/b/.gitattributes
|
||||
(
|
||||
echo "global test=global"
|
||||
) >$HOME/global-gitattributes
|
||||
) >"$HOME"/global-gitattributes
|
||||
|
||||
'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user