Clarify error message

This commit is contained in:
Chris Rees 2018-09-01 11:23:29 +00:00
parent 9e0604c294
commit 349073f46c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=478673
2 changed files with 5 additions and 2 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= portdowngrade
PORTVERSION= 1.6
PORTVERSION= 1.7
CATEGORIES= ports-mgmt
MASTER_SITES= # empty
DISTFILES= # none

View File

@ -24,6 +24,9 @@ for the correct origins and a list is presented.
When called with -r, make describe is called in the restored port and all
of the ports that the restored port depended on are also checked out at the
same date.
This software requires that a ports tree has been fetched and is present
in ${PORTSDIR:-/usr/ports}.
EOF
exit 1
}
@ -62,7 +65,7 @@ svn=$(which svn 2>/dev/null || which svnlite 2>/dev/null) || err "Where is Subve
PORTSDIR="$(make -f /usr/share/mk/bsd.port.mk -VPORTSDIR)"
[ -d $PORTSDIR ] || err "Where is your ports tree??"
[ -d $PORTSDIR ] || usage
args=$(getopt c:r $*) || usage