From: Thomas Rast Date: Mon, 18 Oct 2010 09:09:54 +0000 (+0200) Subject: t0003: properly quote $HOME X-Git-Tag: v1.7.4-rc0~157 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e806c43537e2e9b5ab96d03b777a5759ef57b13d;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/t/t0003-attributes.sh b/t/t0003-attributes.sh index 25205ac0e..e75153bde 100755 --- a/t/t0003-attributes.sh +++ b/t/t0003-attributes.sh @@ -38,7 +38,7 @@ test_expect_success 'setup' ' ) >a/b/.gitattributes ( echo "global test=global" - ) >$HOME/global-gitattributes + ) >"$HOME"/global-gitattributes '