[PATCH v2] t0003: properly quote $HOME
- From
Thomas Rast <trast@student.ethz.ch>
- Date
- Oct 18, 2010, 09:09 UTC
- Message-ID
- <b280c19ddc25f2f3a76d1871ed79906663daa802.1287392872.git.trast@student.ethz.ch>
- In-Reply-To
- <201010172134.43983.trast@student.ethz.ch>
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> ---
Changed the commit message to state the actual reason.
t/t0003-attributes.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/t/t0003-attributes.sh b/t/t0003-attributes.sh index 25205ac..e75153b 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 '
-- 1.7.3.1.270.gbc760