mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-05-28 04:35:40 -04:00
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:
parent
ea7d0f2ab1
commit
5553c0be7c
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue