2021-05-29 10:50:32 +00:00
|
|
|
--- 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_
|
2019-06-16 19:24:15 +00:00
|
|
|
.include "export.mk"
|
|
|
|
|
|
|
|
-# an example of setting up a minimal environment.
|
2021-05-29 10:50:32 +00:00
|
|
|
-PATH= /bin:/usr/bin:/sbin:/usr/sbin
|
2019-06-16 19:24:15 +00:00
|
|
|
+# preserve PATH so commands used in the "all" target are still available
|
2021-05-29 10:50:32 +00:00
|
|
|
+PATH := ${PATH}
|
2019-06-16 19:24:15 +00:00
|
|
|
|
|
|
|
# now clobber the environment to just PATH and UT_TEST
|
2021-05-29 10:50:32 +00:00
|
|
|
UT_TEST= unexport-env
|