diff options
author | P. J. McDermott <pjm@nac.net> | 2012-09-09 22:14:18 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-09-09 22:14:18 (EDT) |
commit | d4e38d2bd079659586bb3b2b3002d317cf6a867a (patch) | |
tree | 9dea7f0cfdc5e46be3cde1113335910c279ee2ca /lib | |
parent | e9a65be19d9af512048162dd681437f771739b92 (diff) |
Fix IFS usage in ob_reduce_deps.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/deps.sh | 5 |
1 files changed, 3 insertions, 2 deletions
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}" |