Tools/scripts/rmport: remove extraneous trailing '/' in single-port commit messages

This commit is contained in:
Rene Ladan 2023-04-30 13:29:38 +02:00
parent 021979f6cf
commit 3a59d525a9

View file

@ -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 /!\\"