From owner-svn-ports-all@freebsd.org Sat Sep 1 11:23:30 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8C1E9FEC1C8; Sat, 1 Sep 2018 11:23:30 +0000 (UTC) (envelope-from crees@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2E3E0867FD; Sat, 1 Sep 2018 11:23:30 +0000 (UTC) (envelope-from crees@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 23784182E; Sat, 1 Sep 2018 11:23:30 +0000 (UTC) (envelope-from crees@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w81BNUtk084679; Sat, 1 Sep 2018 11:23:30 GMT (envelope-from crees@FreeBSD.org) Received: (from crees@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w81BNT4l084677; Sat, 1 Sep 2018 11:23:29 GMT (envelope-from crees@FreeBSD.org) Message-Id: <201809011123.w81BNT4l084677@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: crees set sender to crees@FreeBSD.org using -f From: Chris Rees Date: Sat, 1 Sep 2018 11:23:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478673 - in head/ports-mgmt/portdowngrade: . files X-SVN-Group: ports-head X-SVN-Commit-Author: crees X-SVN-Commit-Paths: in head/ports-mgmt/portdowngrade: . files X-SVN-Commit-Revision: 478673 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Sep 2018 11:23:30 -0000 Author: crees Date: Sat Sep 1 11:23:29 2018 New Revision: 478673 URL: https://svnweb.freebsd.org/changeset/ports/478673 Log: Clarify error message Modified: head/ports-mgmt/portdowngrade/Makefile head/ports-mgmt/portdowngrade/files/portdowngrade Modified: head/ports-mgmt/portdowngrade/Makefile ============================================================================== --- head/ports-mgmt/portdowngrade/Makefile Sat Sep 1 10:54:41 2018 (r478672) +++ head/ports-mgmt/portdowngrade/Makefile Sat Sep 1 11:23:29 2018 (r478673) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= portdowngrade -PORTVERSION= 1.6 +PORTVERSION= 1.7 CATEGORIES= ports-mgmt MASTER_SITES= # empty DISTFILES= # none Modified: head/ports-mgmt/portdowngrade/files/portdowngrade ============================================================================== --- head/ports-mgmt/portdowngrade/files/portdowngrade Sat Sep 1 10:54:41 2018 (r478672) +++ head/ports-mgmt/portdowngrade/files/portdowngrade Sat Sep 1 11:23:29 2018 (r478673) @@ -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/nu 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