From 7bbfdef6daa9398d87ee36cd116550a48192ebc2 Mon Sep 17 00:00:00 2001
From: P. J. McDermott <pjm@nac.net>
Date: Sat, 20 Oct 2012 13:25:33 -0400
Subject: 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.
---
(limited to 'src')

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
--
cgit v0.9.1