summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-10-20 13:25:33 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-10-20 13:25:33 (EDT)
commit7bbfdef6daa9398d87ee36cd116550a48192ebc2 (patch)
tree7d575c3ad11f1a89e9135406069bc1ad49d8fa99 /src
parentc0e3fc6ad056daff5ef2e8c805ce9447fd60d1d7 (diff)
Add build helper directory to beginning of PATH.
This should prevent the unintended use of old copies of build helper utilities that happened to be installed in a directory in the PATH.
Diffstat (limited to 'src')
-rw-r--r--src/ob-buildenv.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ob-buildenv.sh b/src/ob-buildenv.sh
index 152c6e4..e08b5f1 100644
--- a/src/ob-buildenv.sh
+++ b/src/ob-buildenv.sh
@@ -48,7 +48,7 @@ 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" "${PATH}" "${helper}"
+ printf "PATH='%s:%s'\n" "${helper}" "${PATH}"
fi
done
unset IFS