Patchwork [1/5] setup-environment: clean up all variables

login
register
mail settings
Submitter Trevor Woerner
Date March 30, 2014, 10:04 p.m.
Message ID <1396217092-30829-2-git-send-email-trevor.woerner@linaro.org>
Download mbox | patch
Permalink /patch/69657/
State Not Applicable
Delegated to: Otavio Salvador
Headers show

Comments

Trevor Woerner - March 30, 2014, 10:04 p.m.
Add to the list of cleaned-up variables to include all the variables used by
this script.

Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org>
---
 setup-environment | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/setup-environment b/setup-environment
index f2c91d7..5466103 100644
--- a/setup-environment
+++ b/setup-environment
@@ -45,6 +45,8 @@  clean_up()
 {
    unset EULA LIST_MACHINES VALID_MACHINE
    unset NCPU CWD TEMPLATES SHORTOPTS LONGOPTS ARGS PROGNAME
+   unset generated_config updated
+   unset MACHINE SDKMACHINE DISTRO OEROOT
 }
 
 # get command line options