summary refs log tree commit diff
path: root/pkgs/development/tools/build-managers/bmake/fix-unexport-env-test.patch
blob: 339348f37c32bd093de7249849235086822ffd8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- bmake/unit-tests/unexport-env.mk.orig       2019-02-19 10:24:14.356713136 -0800
+++ bmake/unit-tests/unexport-env.mk    2019-02-19 10:25:43.838775388 -0800
@@ -3,8 +3,8 @@
 # pick up a bunch of exported vars
 .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