diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/package.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/package.sh b/lib/package.sh index bf21399..670fcdd 100644 --- a/lib/package.sh +++ b/lib/package.sh @@ -136,10 +136,10 @@ ob_get_binary_packages() local opt= local host_arch= local host_plat= - local pkgs= local pkg= local pkgs_clean= local pkg_clean= + local pkgs= OPTIND=1 while getopts 'a:P:' opt; do @@ -189,12 +189,10 @@ ob_get_binary_packages() esac pkgs_clean="${pkgs_clean}${pkg_clean} " - pkgs="${pkgs} ${pkg}" + _OB_BINARY_PACKAGES="${_OB_BINARY_PACKAGES} ${pkgs}" done - _OB_BINARY_PACKAGES="$(IFS=' ' echo ${pkgs})" - fi pkgs='' |