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

Submitted by Trevor Woerner on April 1, 2014, 9:15 p.m.

Details

Message ID 1396386918-20361-2-git-send-email-trevor.woerner@linaro.org
State Accepted, archived
Delegated to: Otavio Salvador
Headers show

Commit Message

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 hide | download patch | download mbox

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