aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorvd <vd@FreeBSD.org>2007-02-19 15:24:36 +0800
committervd <vd@FreeBSD.org>2007-02-19 15:24:36 +0800
commit1cb1ad8745c9ab96b09a7732c28e1c5ad72f6edd (patch)
tree6412aacf230e8764931cb02bd54228d14ea9d34a /Tools
parent993839f300482757983e776dd75c41bc8af95a6b (diff)
downloadfreebsd-ports-gnome-1cb1ad8745c9ab96b09a7732c28e1c5ad72f6edd.tar.gz
freebsd-ports-gnome-1cb1ad8745c9ab96b09a7732c28e1c5ad72f6edd.tar.zst
freebsd-ports-gnome-1cb1ad8745c9ab96b09a7732c28e1c5ad72f6edd.zip
* Run cvs update just before cvs commit to sync a potentially changed files
in the repository. Suggested by: gabor@ * Fix typo in the output
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/rmport7
1 files changed, 5 insertions, 2 deletions
diff --git a/Tools/scripts/rmport b/Tools/scripts/rmport
index 0ea2af3c83bd..e57cd271f0c0 100755
--- a/Tools/scripts/rmport
+++ b/Tools/scripts/rmport
@@ -206,7 +206,7 @@ check_dep()
echo " * these are false positives" >&2
echo " * you want to break something" >&2
echo " * your ${PORTSDIR} is out of date, consider setting PORTSDIR in environment" >&2
- echo " point to a newer instance of the ports tree" >&2
+ echo " to point to a newer instance of the ports tree" >&2
echo "or you can hit \`n' to repeat the check" >&2
answer=`ask "ignore the above issues"`
if [ "${answer}" = "y" ] ; then
@@ -410,9 +410,12 @@ diff()
echo ${diffout}
}
-# ask for confirmation and commit
+# update, ask for confirmation and commit
commit()
{
+ log "running cvs update"
+ ${PCVS} up CVSROOT/modules ports 2>&1 |${PAGER:-less}
+
answer=`ask "do you want to commit?"`
if [ "${answer}" = "y" ] ; then