summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/package.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/package.sh b/lib/package.sh
index 8b4ee05..3476e56 100644
--- a/lib/package.sh
+++ b/lib/package.sh
@@ -197,7 +197,8 @@ ob_get_binary_packages()
if [ -n "${_obgbpk_host_arch}" ]; then
for _obgbpk_pkg in ${_OB_BINARY_PACKAGES}; do
- if ob_match_arch "${_obgbpk_host_arch}" "$(ob_get_binary_parameter \
+ if ob_arch_is_concerned "${_obgbpk_host_arch}" \
+ "$(ob_get_binary_parameter \
"${_obgbpk_pkg}" 'Architecture')"; then
_obgbpk_pkgs="${_obgbpk_pkgs} ${_obgbpk_pkg}"
fi