svn commit: r398928 - head/Mk/Scripts
Bryan Drewery
bdrewery at FreeBSD.org
Fri Oct 9 18:09:03 UTC 2015
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
More information about the svn-ports-head
mailing list