From 53becbc0ae81f95babbbd8b223cb683847f965f5 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 09 Sep 2012 22:23:26 -0400 Subject: Reset IFS as soon as possible in ob_reduce_deps. --- diff --git a/lib/deps.sh b/lib/deps.sh index 207bb29..01247a0 100644 --- a/lib/deps.sh +++ b/lib/deps.sh @@ -148,10 +148,12 @@ ob_reduce_deps() _obrd_orig_ifs="${IFS}" IFS=',' for _obrd_dep_and in ${_obrd_deps}; do + IFS="${_obrd_orig_ifs}" if ! ${_obrd_union}; then IFS='|' _obrd_dep_or_list= for _obrd_dep_or in ${_obrd_dep_and}; do + IFS="${_obrd_orig_ifs}" _obrd_dep="$(ob_parse_dep -a "${_obrd_host_arch}" \ "${_obrd_dep_or}")" if [ -n "${_obrd_dep}" ]; then @@ -171,7 +173,6 @@ ob_reduce_deps() : fi done - IFS="${_obrd_orig_ifs}" echo "${_obrd_dep_list}" -- cgit v0.9.1