summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPatrick 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)
commit424c186e59397d078a64931ecd145195e793c385 (patch)
treed70310625eff054f19b3edd12401ef95d8624582 /lib
parent33bbc2affa91f5ec62c8275be62a3a0da51ae2a9 (diff)
ob_get_binary_packages(): Drop echo along with unnecessary assignment
Diffstat (limited to 'lib')
-rw-r--r--lib/package.sh6
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=''