diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-12 22:24:31 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-12 22:24:31 (EDT) |
commit | 424c186e59397d078a64931ecd145195e793c385 (patch) | |
tree | d70310625eff054f19b3edd12401ef95d8624582 | |
parent | 33bbc2affa91f5ec62c8275be62a3a0da51ae2a9 (diff) |
ob_get_binary_packages(): Drop echo along with unnecessary assignment
-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='' |