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>
Thomas Rast committed
Oct 18, 2010 at 11:09 UTC
e806c43537e2e9b5ab96d03b777a5759ef57b13d
1 file changed
+1
-1
t/t0003-attributes.sh
+1
-1
@@ -38,7 +38,7 @@ test_expect_success 'setup' '
38
) >a/b/.gitattributes
39
(
40
echo "global test=global"
41
- ) >$HOME/global-gitattributes
41
+ ) >"$HOME"/global-gitattributes
42
43
'
44