diff options
author | P. J. McDermott <pjm@nac.net> | 2012-10-27 18:24:14 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-10-27 18:24:14 (EDT) |
commit | dd3121e684dda80c431be5daa30c7df16c9f4e81 (patch) | |
tree | 803503889b5d4b620973d54e6c0a1bcaa020005e /src | |
parent | f7b6b151cfad5c071eb28e5ab9b167f2b75c907f (diff) |
Support multiple build helpers in PATH.
Diffstat (limited to 'src')
-rw-r--r-- | src/ob-buildenv.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ob-buildenv.sh b/src/ob-buildenv.sh index e8acb9f..13cc20c 100644 --- a/src/ob-buildenv.sh +++ b/src/ob-buildenv.sh @@ -48,10 +48,12 @@ setup_build_helper() 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" "${helper}" "${PATH}" + PATH="$(printf '%s:%s' "${helper}" "${PATH}")" fi done unset IFS + + printf "PATH='%s'\n" "${PATH}" } setup_toolchain() |