do not change current env

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-10-13 11:09:57 +02:00
parent c305735ed5
commit 143939a6f7
1 changed files with 3 additions and 7 deletions

View File

@ -85,13 +85,9 @@ class ConfigInstall(object):
os.mkdir(self.context.out_path)
os.mkdir(self.context.bin_path)
# FIXME: remove this function, only expose ENV
# explicitly!
def __init_env(self):
"""Environment usable for other stuff"""
os.environ['__target_host'] = self.context.target_host
if self.context.debug:
os.environ['__debug'] = "yes"
# os.environ['__target_host'] = self.context.target_host
# if self.context.debug:
# os.environ['__debug'] = "yes"
def cleanup(self):
self.log.debug("Saving " + self.context.out_path + " to " + self.context.cache_path)