summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ob-buildenv.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ob-buildenv.sh b/src/ob-buildenv.sh
index 5ccd4d0..ffe723a 100644
--- a/src/ob-buildenv.sh
+++ b/src/ob-buildenv.sh
@@ -46,9 +46,9 @@ setup_build_helper()
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
- PATH="${helper}:${PATH}"
+ if [ -r "@@HELPERDIR@@/${dep_pkg}" ]; then
+ . "@@HELPERDIR@@/${dep_pkg}"
+ PATH="${helper_path}:${PATH}"
fi
done
unset IFS