Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
fix bsd shell negation
[gitweb.git]
/
t
/
t4022-diff-rewrite.sh
diff --git
a/t/t4022-diff-rewrite.sh
b/t/t4022-diff-rewrite.sh
index 6de4acbd44589fbcf6a3f9c4ca2043c9f4e99ebe..bf996fc414d3b5ea16488a8b274973a8347b29cb 100755
(executable)
--- a/
t/t4022-diff-rewrite.sh
+++ b/
t/t4022-diff-rewrite.sh
@@
-8,7
+8,10
@@
test_expect_success setup '
cat ../../COPYING >test &&
git add test &&
- tr 'a-zA-Z' 'n-za-mN-ZA-M' <../../COPYING >test
+ tr \
+ "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" \
+ "nopqrstuvwxyzabcdefghijklmNOPQRSTUVWXYZABCDEFGHIJKLM" \
+ <../../COPYING >test
'