From fa1a4263e062507003bc569e15086d4b184c0232 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 7 Oct 2011 13:51:00 +0200 Subject: [PATCH] setup __cdist_base_dir Signed-off-by: Nico Schottelius --- lib/cdist/config_install.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/cdist/config_install.py b/lib/cdist/config_install.py index 8d926447..71d352da 100644 --- a/lib/cdist/config_install.py +++ b/lib/cdist/config_install.py @@ -201,8 +201,9 @@ class ConfigInstall: """Link emulator to types""" src = os.path.abspath(self.exec_path) 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) + log.debug("Linking emulator: %s to %s", src, dst) + # FIXME: handle exception / make it more beautiful os.symlink(src, dst)