Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Rast <trast@student.ethz.ch>2010-10-18 13:09:54 +0400
committerJunio C Hamano <gitster@pobox.com>2010-10-30 01:12:31 +0400
commite806c43537e2e9b5ab96d03b777a5759ef57b13d (patch)
tree0eb120f7aed7b3b38e187b1953f7767a9dd29f4e /t/t0003-attributes.sh
parent06ac01a46af471207b93266e55eb9880e87e0114 (diff)
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>
Diffstat (limited to 't/t0003-attributes.sh')
-rwxr-xr-xt/t0003-attributes.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0003-attributes.sh b/t/t0003-attributes.sh
index 25205ac0ee..e75153bdea 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
'