From dd3121e684dda80c431be5daa30c7df16c9f4e81 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 27 Oct 2012 18:24:14 -0400 Subject: Support multiple build helpers in PATH. --- (limited to 'src') 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() -- cgit v0.9.1