summaryrefslogtreecommitdiffstats
path: root/lib/package
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-07-05 23:03:44 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-07-05 23:06:05 (EDT)
commita53880a6e630d05c72a2a9b32f748d92cd13d973 (patch)
treea851bfca50398362e7ba14981b439a2005c38702 /lib/package
parent088a61c64c29acb17ea9a097d644418f90635496 (diff)
_ob_set_binary_packages(): Remove
_ob_get_binary_packages_2() now just prints packages. Also fix multiple issues with (re)population of ${_ob_binary_packages} in ob_get_binary_packages().
Diffstat (limited to 'lib/package')
-rw-r--r--lib/package/2.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/package/2.sh b/lib/package/2.sh
index 3e7bc0a..471425b 100644
--- a/lib/package/2.sh
+++ b/lib/package/2.sh
@@ -52,7 +52,6 @@ _ob_parse_package_metadata_2()
_ob_get_binary_packages_2()
{
- local pkgs=
local pkg_control=
for pkg_control in "${_ob_package_dir}/"*'.pkg/control'; do
@@ -64,14 +63,10 @@ _ob_get_binary_packages_2()
pkg_control="${pkg_control%.pkg/control}"
pkg_control="${pkg_control##*/}"
- ob_validate_binary_name "${pkg_control}"
-
- pkgs="${pkgs} ${pkg_control}"
+ printf '%s ' "${pkg_control}"
done
- _ob_set_binary_packages "${pkgs}"
-
return 0
}