setup __cdist_base_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
1b484e2d87
commit
fa1a4263e0
1 changed files with 2 additions and 1 deletions
|
@ -201,8 +201,9 @@ class ConfigInstall:
|
||||||
"""Link emulator to types"""
|
"""Link emulator to types"""
|
||||||
src = os.path.abspath(self.exec_path)
|
src = os.path.abspath(self.exec_path)
|
||||||
for type in cdist.core.Type.list_types():
|
for type in cdist.core.Type.list_types():
|
||||||
log.debug("Linking emulator: %s to %s", source, destination)
|
|
||||||
dst = os.path.join(self.context.bin_dir, type.name)
|
dst = os.path.join(self.context.bin_dir, type.name)
|
||||||
|
log.debug("Linking emulator: %s to %s", src, dst)
|
||||||
|
|
||||||
# FIXME: handle exception / make it more beautiful
|
# FIXME: handle exception / make it more beautiful
|
||||||
os.symlink(src, dst)
|
os.symlink(src, dst)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue