summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2014-03-05 12:24:04 (EST)
committer P. J. McDermott <pjm@nac.net>2014-03-05 12:24:04 (EST)
commitcd2dd44244a3fb05df6f83a468476ac271915575 (patch)
treea02f347c4214aaff72c1bdea87172391946b370d /src
parent80b51a337496206f6796de321154d70e2e928aa1 (diff)
ob-buildenv: Detect helpers at run time.
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