aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2023-04-30 13:29:38 +0200
committerRene Ladan <rene@FreeBSD.org>2023-04-30 13:29:38 +0200
commit3a59d525a9bb64d19ecc54eadc756a2bdff01840 (patch)
tree4b51dfbd23c4ffd178a8b8b6d36e8408b68b2c10 /Tools
parent021979f6cf74e131e66ac7304fb53956df05cfe4 (diff)
Tools/scripts/rmport: remove extraneous trailing '/' in single-port commit messages
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/rmport2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/rmport b/Tools/scripts/rmport
index f478c5856c2f..56adf93ea816 100755
--- a/Tools/scripts/rmport
+++ b/Tools/scripts/rmport
@@ -411,7 +411,7 @@ gitlog=$(mktemp -t gitlog)
gitrmlist=$(mktemp -t gitrmlist)
if [ $# -eq 1 ] ; then
- topic="$1"
+ topic="${1%/}"
plural=""
else
log "/!\\ Removing multiple ports at once, commit topic will be generic /!\\"