Home | History | Annotate | Line # | Download | only in unit-tests
unexport-env.mk revision 1.1
      1 # $Id: unexport-env.mk,v 1.1 2014/08/21 13:44:52 apb Exp $
      2 
      3 # pick up a bunch of exported vars
      4 .include "export.mk"
      5 
      6 # an example of setting up a minimal environment.
      7 PATH = /bin:/usr/bin:/sbin:/usr/sbin
      8 
      9 # now clobber the environment to just PATH and UT_TEST
     10 UT_TEST = unexport-env
     11 
     12 # this removes everything
     13 .unexport-env
     14 .export PATH UT_TEST
     15