From 9584e5aff228e7ec246055dfc1a8b19714c0ea71 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 05 Nov 2012 17:58:37 -0500 Subject: ob_get_binary_packages: use ob_arch_is_concerned. --- (limited to 'lib') 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 -- cgit v0.9.1