summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Gustafsson <daniel@yesql.se>2022-05-02 22:45:09 +0200
committerDaniel Gustafsson <daniel@yesql.se>2022-05-02 22:45:09 +0200
commit803947a1c71320ec5300f459602fdc859c6a35e4 (patch)
tree0c58f69675d20734b7da30ee0e2142ae91b4705c /scripts
parent5e9a703cf211a892e9b74ec11129994dcc241623 (diff)
downloadcurl-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-xscripts/contributors.sh3
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);
}