blob: 85eed767214662be7e3f20306378274e13a654fe (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# $NetBSD: unexport-env.mk,v 1.4 2020/10/24 08:50:17 rillig Exp $
# pick up a bunch of exported vars
FILTER_CMD= grep ^UT_
.include "export.mk"
# an example of setting up a minimal environment.
PATH= /bin:/usr/bin:/sbin:/usr/sbin
# now clobber the environment to just PATH and UT_TEST
UT_TEST= unexport-env
# this removes everything
.unexport-env
.export PATH UT_TEST
|