tools/update-thanks: Match case-insensitively

When checking whether an author name already exists in the AUTHORS or
THANKS.in file, perform a case-insensitive match.
This commit is contained in:
Holger Weiss 2016-11-28 21:44:39 +01:00
parent ea7d0f2ab1
commit 5553c0be7c

View file

@ -34,7 +34,7 @@ git log --pretty='%an' "$since.." | sort -u | while read first last rest
do
if [ -n "$first" -a -n "$last" -a -z "$rest" ]
then
if ! grep -q "^$first $last$" AUTHORS THANKS.in
if ! grep -q -i "^$first $last$" AUTHORS THANKS.in
then
echo "$first $last" >> THANKS.in
fi