summaryrefslogtreecommitdiffstats
path: root/lib/package
diff options
context:
space:
mode:
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
}