Skip to content

Commit

Permalink
t0003: properly quote $HOME
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
trast authored and gitster committed Oct 29, 2010
1 parent 06ac01a commit e806c43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t0003-attributes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ test_expect_success 'setup' '
) >a/b/.gitattributes
(
echo "global test=global"
) >$HOME/global-gitattributes
) >"$HOME"/global-gitattributes
'

Expand Down

0 comments on commit e806c43

Please sign in to comment.