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>
This commit is contained in:
parent
5c7d2cf3d6
commit
3d5c0cc938
@ -34,7 +34,7 @@ export GIT_AUTHOR_EMAIL GIT_AUTHOR_NAME
|
|||||||
export GIT_COMMITTER_EMAIL GIT_COMMITTER_NAME
|
export GIT_COMMITTER_EMAIL GIT_COMMITTER_NAME
|
||||||
export EDITOR VISUAL
|
export EDITOR VISUAL
|
||||||
|
|
||||||
case $(echo $GIT_TRACE |tr [A-Z] [a-z]) in
|
case $(echo $GIT_TRACE |tr "[A-Z]" "[a-z]") in
|
||||||
1|2|true)
|
1|2|true)
|
||||||
echo "* warning: Some tests will not work if GIT_TRACE" \
|
echo "* warning: Some tests will not work if GIT_TRACE" \
|
||||||
"is set as to trace on STDERR ! *"
|
"is set as to trace on STDERR ! *"
|
||||||
|
Loading…
Reference in New Issue
Block a user