setup '__cdist_out_dir' in path for use in Object

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/feature_files_export
Nico Schottelius 14 years ago
parent 2157cef2a6
commit 5c9694215c
  1. 2
      lib/cdist/path.py

2
lib/cdist/path.py vendored

@ -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

Loading…
Cancel
Save