From d4e38d2bd079659586bb3b2b3002d317cf6a867a Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 09 Sep 2012 22:14:18 -0400 Subject: Fix IFS usage in ob_reduce_deps. --- (limited to 'lib') diff --git a/lib/deps.sh b/lib/deps.sh index 5637297..cf947a8 100644 --- a/lib/deps.sh +++ b/lib/deps.sh @@ -145,10 +145,10 @@ ob_reduce_deps() fi _obrd_orig_ifs="${IFS}" - IFS=', ' + IFS=',' for _obrd_dep_and in ${_obrd_deps}; do if ! ${_obrd_union}; then - IFS='| ' + IFS='|' _obrd_dep_or_list= for _obrd_dep_or in ${_obrd_dep_and}; do _obrd_dep="$(ob_parse_dep -a "${_obrd_host_arch}" \ @@ -170,6 +170,7 @@ ob_reduce_deps() : fi done + IFS="${_obrd_orig_ifs}" echo "${_obrd_dep_list}" -- cgit v0.9.1