Patchwork [bsp-community-bsp-base,v2,1/4] setup-environment: clean up all variables

login
register
mail settings
Submitter Trevor Woerner
Date April 1, 2014, 9:15 p.m.
Message ID <1396386918-20361-2-git-send-email-trevor.woerner@linaro.org>
Download mbox | patch
Permalink /patch/69969/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Trevor Woerner - April 1, 2014, 9:15 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 861d854..c5362f9 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