Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/poudriere.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Drewery <bryan@shatow.net>2022-09-16 02:49:39 +0300
committerBryan Drewery <bryan@shatow.net>2022-09-16 06:44:58 +0300
commit6db8bf024f3815120679fbcac1c6014e4c11b19f (patch)
treea26eac94699200cbe59f0be43e35cdf0513c5321
parent41f9cc73c34f96f31da5fc36379c407b8daad06b (diff)
runtest: Prefer expected PATHS for efficiency
-rw-r--r--test/runtest.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/runtest.sh b/test/runtest.sh
index 35d73fe7..b96ce257 100644
--- a/test/runtest.sh
+++ b/test/runtest.sh
@@ -5,6 +5,8 @@ TEST=$(realpath "$1")
: ${am_check:=0}
: ${am_installcheck:=0}
+PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:${PATH}"
+
if [ "${am_check}" -eq 1 ] &&
[ "${am_installcheck}" -eq 0 ]; then
LIBEXECPREFIX="${abs_top_builddir}"