summaryrefslogtreecommitdiffstats
path: root/lib/deps.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/deps.sh')
-rw-r--r--lib/deps.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/deps.sh b/lib/deps.sh
index 5af26ac..9ae63fe 100644
--- a/lib/deps.sh
+++ b/lib/deps.sh
@@ -172,9 +172,9 @@ ob_parse_dep()
printf '%s' "${pkg}"
[ -n "${archqual}" ] && printf ':%s' "${archqual}"
[ -n "${ver}" ] && printf ' (%s %s)' "${rel}" "${ver}"
- [ -z "${host_arch}" -a -n "${arches}" ] && \
+ [ -z "${host_arch}" ] && [ -n "${arches}" ] && \
printf ' [%s]' "${arches}"
- [ -z "${host_plat}" -a -n "${plats}" ] && \
+ [ -z "${host_plat}" ] && [ -n "${plats}" ] && \
printf ' [%s]' "${plats}"
printf '\n'