summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2018-09-16 09:20:37 +0000
committerRene Ladan <rene@FreeBSD.org>2018-09-16 09:20:37 +0000
commit88f198beedaf47a7cb59b8d50f41883ebefc86ec (patch)
tree7ac8df99c036bd19034a160167d8255122743ad8 /Tools
parentRemove expired ports: (diff)
rmport: usability fixes:
- only write the message to edit the log once - show the log itself instead of the temporary filename
Notes
Notes: svn path=/head/; revision=479882
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/rmport6
1 files changed, 2 insertions, 4 deletions
diff --git a/Tools/scripts/rmport b/Tools/scripts/rmport
index 2422a92c44d8..734247676e38 100755
--- a/Tools/scripts/rmport
+++ b/Tools/scripts/rmport
@@ -135,7 +135,7 @@ mkcodir()
{
log "creating temporary directory"
d=`mktemp -d -t rmport`
- touch ${d}/svnlog
+ echo "This is the commit message, please edit it." >> ${d}/svnlog
log "created ${d}"
echo "${d}"
}
@@ -371,8 +371,6 @@ append_Template()
msg="${msg}: ${DEPRECATED}"
fi
- echo "This is the commit message, please edit it." >> ./svnlog
-
log "${catport}: adding entry to commit message template"
echo "${msg}" >> ./svnlog
@@ -405,7 +403,7 @@ commit()
$EDITOR svnlog
log "Your commit message is:"
- echo svnlog
+ cat svnlog
answer=`ask "Do you want to edit again your commit message?"`
if [ "${answer}" = "y" ] ; then