Quote arguments to tr in test-lib
When there are single-character filenames in the test directory, the shell tries to expand regexps meant for tr. Signed-off-by: Junio C Hamano <junkio@cox.net>
Robin Rosenberg committed
Sep 23, 2006 at 00:35 UTC
3d5c0cc9387b35df47c988fbc0e4379e413d783e
1 file changed
+1
-1
t/test-lib.sh
+1
-1
@@ -34,7 +34,7 @@ export GIT_AUTHOR_EMAIL GIT_AUTHOR_NAME
34
export GIT_COMMITTER_EMAIL GIT_COMMITTER_NAME
35
export EDITOR VISUAL
36
37
-case $(echo $GIT_TRACE |tr [A-Z] [a-z]) in
37
+case $(echo $GIT_TRACE |tr "[A-Z]" "[a-z]") in
38
1|2|true)
39
echo "* warning: Some tests will not work if GIT_TRACE" \
40
"is set as to trace on STDERR ! *"