summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/deps.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/deps.sh b/lib/deps.sh
index 167c41b..760a529 100644
--- a/lib/deps.sh
+++ b/lib/deps.sh
@@ -39,6 +39,7 @@ ob_parse_dep()
local comp=
local comp_var=
+ OPTIND=1
while getopts 'p:q:r:v:A:l:a:P:' opt; do
case "${opt}" in
p)
@@ -163,6 +164,7 @@ ob_reduce_deps()
union='false'
+ OPTIND=1
while getopts 'a:P:u' opt; do
case "${opt}" in
a)