From 9ad75a2d29a6937026f0636c1e7acb04ea08b271 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 09 Sep 2012 22:16:08 -0400 Subject: An arch is concerned if no arches are specified. --- diff --git a/lib/deps.sh b/lib/deps.sh index 35970c1..207bb29 100644 --- a/lib/deps.sh +++ b/lib/deps.sh @@ -188,6 +188,10 @@ _ob_dep_arch_is_concerned() _obdaic_arches="${2}" _obdaic_seen_arch=1 + if [ -z "${_obdaic_arches}" ]; then + _obdaic_seen_arch=0 + fi + for _obdaic_arch in ${_obdaic_arches}; do _obdaic_not_arch="${_obdaic_arch#!}" if [ "${_obdaic_not_arch}" != "${_obdaic_arch}" ]; then -- cgit v0.9.1