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