Date: Fri, 9 Oct 2015 18:09:02 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r398928 - head/Mk/Scripts Message-ID: <201510091809.t99I922Z050386@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bdrewery Date: Fri Oct 9 18:09:02 2015 New Revision: 398928 URL: https://svnweb.freebsd.org/changeset/ports/398928 Log: Shift any arguments eaten up from getopts. This script takes no arguments yet. With hat: portmgr Modified: head/Mk/Scripts/depends-list.sh Modified: head/Mk/Scripts/depends-list.sh ============================================================================== --- head/Mk/Scripts/depends-list.sh Fri Oct 9 18:00:44 2015 (r398927) +++ head/Mk/Scripts/depends-list.sh Fri Oct 9 18:09:02 2015 (r398928) @@ -18,6 +18,7 @@ while getopts "r" FLAG; do ;; esac done +shift $((OPTIND-1)) validate_env dp_ALLDEPENDS dp_PORTSDIR dp_PKGNAME [ ${recursive} -eq 1 ] && validate_env dp_MAKE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510091809.t99I922Z050386>