diff options
author | Daniel Gustafsson <daniel@yesql.se> | 2022-05-02 22:45:09 +0200 |
---|---|---|
committer | Daniel Gustafsson <daniel@yesql.se> | 2022-05-02 22:45:09 +0200 |
commit | 803947a1c71320ec5300f459602fdc859c6a35e4 (patch) | |
tree | 0c58f69675d20734b7da30ee0e2142ae91b4705c /scripts | |
parent | 5e9a703cf211a892e9b74ec11129994dcc241623 (diff) | |
download | curl-803947a1c71320ec5300f459602fdc859c6a35e4.tar.gz |
contributors: strip off final comma
The final row of contributors should not end with a comma as it's the
end of the list.
Closes: #8785
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/contributors.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/contributors.sh b/scripts/contributors.sh index 6f3cf6af2..4779c3528 100755 --- a/scripts/contributors.sh +++ b/scripts/contributors.sh @@ -91,7 +91,8 @@ awk '{ } END { - printf(" %s\n", p); + pp=substr(p,1,length(p)-1); + printf(" %s\n", pp); printf(" (%d contributors)\n", num); } |