diff --git a/bin/cdist b/bin/cdist index 6726295a..a5383524 100755 --- a/bin/cdist +++ b/bin/cdist @@ -354,7 +354,7 @@ class Cdist: def link_type_to_emulator(self): """Link type names to cdist-type-emulator""" - source = sys.argv[0] + source = os.path.abspath(sys.argv[0]) for type in self.list_types(): destination = os.path.join(self.bin_dir, type) log.debug("Linking %s to %s", source, destination)