summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-11-05 17:58:37 (EST)
committer P. J. McDermott <pjm@nac.net>2012-11-05 17:58:37 (EST)
commit9584e5aff228e7ec246055dfc1a8b19714c0ea71 (patch)
treea1ada5ffb1eddb546ceaedceebb0c6e748cd60fd
parentd79e2e9e8627490c66ec940ea8ecd98323270817 (diff)
ob_get_binary_packages: use ob_arch_is_concerned.
-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