DBZ-3544 Support names with "/" in list-contributors script

This commit is contained in:
Chris Cranford 2021-05-20 12:03:56 -04:00 committed by Gunnar Morling
parent b22d332481
commit 276fd8d2a2

View File

@ -32,6 +32,7 @@ jq -r '.github_url + " " + .name' $CONTRIBUTORS_LIST_JSON > $CONTRIBUTORS_NAMES
while IFS=" " read -r URL NAME;
do
NAME=`echo "$NAME" | tr "/" " "`
if [[ -z "$NAME" ]]; then
if grep -qi "^$URL" $CONTRIBUTORS_ALIASES; then
REAL_NAME=`grep -i "^$URL" $CONTRIBUTORS_ALIASES | head -1 | awk '{split($0,a,","); print a[2]}'`