git: 6d6ee9171e78 - main - rmport: remove trailing dot from the line added to MOVED
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 14 Jul 2024 14:02:13 UTC
The branch main has been updated by rene:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6d6ee9171e7867974aaa535692f3770dd7643d85
commit 6d6ee9171e7867974aaa535692f3770dd7643d85
Author: Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2024-07-14 13:47:20 +0000
Commit: Rene Ladan <rene@FreeBSD.org>
CommitDate: 2024-07-14 14:01:54 +0000
rmport: remove trailing dot from the line added to MOVED
This satisfies a server-side git hook.
---
Tools/scripts/rmport | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Tools/scripts/rmport b/Tools/scripts/rmport
index 776f1efcb8c0..10f24933796c 100755
--- a/Tools/scripts/rmport
+++ b/Tools/scripts/rmport
@@ -251,7 +251,7 @@ edit_MOVED()
catport=${1}
DEPRECATED="$(make -C ${PORTSDIR}/${catport} -V DEPRECATED)"
- DEPRECATED=${DEPRECATED:+: ${DEPRECATED}}
+ DEPRECATED=${DEPRECATED:+: ${DEPRECATED%.}}
if [ -n "$(make -C ${PORTSDIR}/${catport} -V EXPIRATION_DATE)" ] ; then
REASON="Has expired${DEPRECATED}"
else