link to emulator in config_install and remove it from emulator
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
8a4b8e9b66
commit
b936fea3e5
2 changed files with 11 additions and 17 deletions
|
|
@ -142,12 +142,3 @@ def run(argv):
|
|||
source_fd.close()
|
||||
|
||||
log.debug("Finished " + type + "/" + object_id + repr(params))
|
||||
|
||||
|
||||
def link(exec_path, bin_dir, type_list):
|
||||
"""Link type names to cdist-type-emulator"""
|
||||
source = os.path.abspath(exec_path)
|
||||
for type in type_list:
|
||||
destination = os.path.join(bin_dir, type)
|
||||
log.debug("Linking %s to %s", source, destination)
|
||||
os.symlink(source, destination)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue