Files
pkgsrc-ng/devel/bmake/files/unit-tests/unexport-env.mk
2016-01-21 23:41:46 +01:00

15 lines
347 B
Makefile

# $Id: unexport-env.mk,v 1.2 2015/05/19 22:01:19 joerg Exp $
# 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
# now clobber the environment to just PATH and UT_TEST
UT_TEST = unexport-env
# this removes everything
.unexport-env
.export PATH UT_TEST