diff options
-rw-r--r-- | lib/metadata.sh | 1 | ||||
-rw-r--r-- | lib/package.sh | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/metadata.sh b/lib/metadata.sh index e9a30b3..e269368 100644 --- a/lib/metadata.sh +++ b/lib/metadata.sh @@ -54,6 +54,7 @@ ob_parse_version() local distrev_var= local version= + OPTIND=1 while getopts 'u:d:' opt; do case "${opt}" in u) diff --git a/lib/package.sh b/lib/package.sh index 036a37d..6b046a5 100644 --- a/lib/package.sh +++ b/lib/package.sh @@ -66,6 +66,7 @@ ob_parse_package_metadata() local param_name= local param_value= + OPTIND=1 while getopts 'c:' opt; do case "${opt}" in c) @@ -131,6 +132,7 @@ ob_get_binary_packages() local pkg_clean= local orig_text_domain= + OPTIND=1 while getopts 'a:P:' opt; do case "${opt}" in a) |