setup '__cdist_out_dir' in path for use in Object

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-10-06 19:26:58 +02:00
parent 2157cef2a6
commit 5c9694215c
1 changed files with 2 additions and 0 deletions

View File

@ -68,6 +68,8 @@ class Path:
self.base_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir))
self.temp_dir = tempfile.mkdtemp()
os.environ['__cdist_out_dir'] = self.temp_dir
self.target_host = target_host
# Input directories