about summary refs log tree commit diff
path: root/pkgs/by-name/bm/bmake/003-fix-unexport-env-test.diff
blob: fbf7225a6d6f23dba52c205914e3ca1974ab31c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- bmake/unit-tests/unexport-env.mk.orig	2021-05-27 14:44:45.263392298 +0200
+++ bmake/unit-tests/unexport-env.mk	2021-05-27 14:46:46.188881996 +0200
@@ -4,8 +4,8 @@
 FILTER_CMD=	grep ^UT_
 .include "export.mk"
 
-# an example of setting up a minimal environment.
-PATH=	/bin:/usr/bin:/sbin:/usr/sbin
+# preserve PATH so commands used in the "all" target are still available
+PATH :=	${PATH}
 
 # now clobber the environment to just PATH and UT_TEST
 UT_TEST=	unexport-env