{"thread":{"id":"5648","subject":"[PATCH] Quote arguments to tr in test-lib","startedAt":"2006-09-22T22:35:20Z","lastAt":"2006-09-22T22:35:20Z","messageCount":1,"participants":["Robin Rosenberg"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"27419","messageId":"20060922223520.3412.15062.stgit@lathund.dewire.com","threadId":"5648","inReplyTo":null,"subject":"[PATCH] Quote arguments to tr in test-lib","fromName":"Robin Rosenberg","fromEmail":"robin.rosenberg@dewire.com","sentAt":"2006-09-22T22:35:20Z","receivedAt":"2006-09-22T22:35:20Z","isPatch":true,"sender":{"key":"robin.rosenberg@dewire.com","avatar":"https://avatars.githubusercontent.com/u/46357?v=4"},"body":"From: Robin Rosenberg <robin.rosenberg@dewire.com>\n\nWhen there are single-character filenames in the test directory,\nthe shell tries to expand regexps meant for tr.\n---\n\n t/test-lib.sh |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/t/test-lib.sh b/t/test-lib.sh\nindex e262933..e75ad5f 100755\n--- a/t/test-lib.sh\n+++ b/t/test-lib.sh\n@@ -34,7 +34,7 @@ export GIT_AUTHOR_EMAIL GIT_AUTHOR_NAME\n export GIT_COMMITTER_EMAIL GIT_COMMITTER_NAME\n export EDITOR VISUAL\n \n-case $(echo $GIT_TRACE |tr [A-Z] [a-z]) in\n+case $(echo $GIT_TRACE |tr \"[A-Z]\" \"[a-z]\") in\n \t1|2|true)\n \t\techo \"* warning: Some tests will not work if GIT_TRACE\" \\\n \t\t\t\"is set as to trace on STDERR ! *\"\n"}]}