1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

rmport: remove trailing dot from the line added to MOVED

This satisfies a server-side git hook.
This commit is contained in:
Rene Ladan 2024-07-14 15:47:20 +02:00
parent 08cc50220f
commit 6d6ee9171e

View File

@ -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