From 5c9694215ca4943c5209062d9394c5ee1194df7e Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 6 Oct 2011 19:26:58 +0200 Subject: [PATCH] setup '__cdist_out_dir' in path for use in Object Signed-off-by: Nico Schottelius --- lib/cdist/path.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/cdist/path.py b/lib/cdist/path.py index c45ddcd6..73a90302 100644 --- a/lib/cdist/path.py +++ b/lib/cdist/path.py @@ -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