summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ob-buildenv.sh4
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()