From 424c186e59397d078a64931ecd145195e793c385 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 12 Mar 2019 22:24:31 -0400 Subject: ob_get_binary_packages(): Drop echo along with unnecessary assignment --- (limited to 'lib') 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='' -- cgit v0.9.1