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

Submitted by Trevor Woerner on March 30, 2014, 10:04 p.m.

Details

Message ID 1396217092-30829-2-git-send-email-trevor.woerner@linaro.org
State Not Applicable, archived
Delegated to: Otavio Salvador
Headers show

Commit Message

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

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