Merge remote-tracking branch 'steven/type-emulator' into type-emulator
This commit is contained in:
commit
b4b354305c
1 changed files with 1 additions and 1 deletions
|
@ -354,8 +354,8 @@ class Cdist:
|
|||
|
||||
def link_type_to_emulator(self):
|
||||
"""Link type names to cdist-type-emulator"""
|
||||
source = os.path.abspath(sys.argv[0])
|
||||
for type in self.list_types():
|
||||
source = sys.argv[0]
|
||||
destination = os.path.join(self.bin_dir, type)
|
||||
log.debug("Linking %s to %s", source, destination)
|
||||
os.symlink(source, destination)
|
||||
|
|
Loading…
Reference in a new issue