summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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