forked from ungleich-public/cdist
fix out dir for object
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
9b5b94577f
commit
6bd6443721
1 changed files with 2 additions and 1 deletions
|
@ -68,7 +68,6 @@ 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
|
||||
|
||||
|
@ -93,6 +92,8 @@ class Path:
|
|||
self.object_base_dir = os.path.join(self.out_dir, "object")
|
||||
self.bin_dir = os.path.join(self.out_dir, "bin")
|
||||
|
||||
os.environ['__cdist_out_dir'] = self.out_dir
|
||||
|
||||
# List of type explorers transferred
|
||||
self.type_explorers_transferred = {}
|
||||
|
||||
|
|
Loading…
Reference in a new issue