summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-10-09 21:52:25 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-10-09 21:52:25 (EDT)
commit2b3e3b11f5f8d7e396a5653c61089121a47bc4a9 (patch)
treefd17854b0085702205c415a0299e1054e4038f35
parent760899d0aeace7a433676d6f58804017c1d5bdf1 (diff)
Unset IFS after changing it.
-rw-r--r--src/ob-buildenv.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ob-buildenv.sh b/src/ob-buildenv.sh
index 063481a..56902e5 100644
--- a/src/ob-buildenv.sh
+++ b/src/ob-buildenv.sh
@@ -43,14 +43,15 @@ main()
setup_build_helper()
{
IFS=', '
-
for dep in $(ob_get_source_parameter 'Build-Depends'); do
+ unset IFS
ob_parse_dep -p dep_pkg "${dep}" >/dev/null
helper="$(ob_get_system_path 'build-helper' "${dep_pkg}")"
if [ ${?} -eq 0 ]; then
printf "PATH='%s:%s'\n" "${PATH}" "${helper}"
fi
done
+ unset IFS
}
setup_toolchain()