From 2f7c964ba148c2d4fa0ddc687756b62325be968e Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 09 Sep 2012 22:41:23 -0400 Subject: Support union dependencies in ob_reduce_deps. --- (limited to 'lib') diff --git a/lib/deps.sh b/lib/deps.sh index 01247a0..f7f6e38 100644 --- a/lib/deps.sh +++ b/lib/deps.sh @@ -170,7 +170,14 @@ ob_reduce_deps() _obrd_dep_list="${_obrd_dep_list}${_obrd_dep_or_list}" fi else - : + _obrd_dep="$(ob_parse_dep -a "${_obrd_host_arch}" \ + "${_obrd_dep_and}")" + if [ -n "${_obrd_dep}" ]; then + if [ -n "${_obrd_dep_list}" ]; then + _obrd_dep_list="${_obrd_dep_list}, " + fi + _obrd_dep_list="${_obrd_dep_list}${_obrd_dep}" + fi fi done -- cgit v0.9.1