nixpkgs-suyu/pkgs/development/tools/build-managers/bmake/fix-unexport-env-test.patch
Austin Seipp ccee4117be bmake: fix version/url, fix tests, remove unneeded deps
As noted by @jameysharp in #63181.

Signed-off-by: Austin Seipp <as@fastly.com>
2019-06-16 14:26:49 -05:00

13 lines
498 B
Diff

--- 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