summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-09-09 22:16:08 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-09-09 22:16:08 (EDT)
commit9ad75a2d29a6937026f0636c1e7acb04ea08b271 (patch)
tree8144b7194ce2dfe8fddadbba7853277897a107ef
parentaa14368bbb07c95fe1fdbeba7b807e3aba919667 (diff)
An arch is concerned if no arches are specified.
-rw-r--r--lib/deps.sh4
1 files changed, 4 insertions, 0 deletions
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