Fix ansible-test bin creation.
Use symlink instead of link.
This commit is contained in:
parent
6a5cbcf8b8
commit
ebe55e83c3
1 changed files with 1 additions and 1 deletions
|
@ -118,6 +118,6 @@ def create_temporary_bin_files(args): # type: (CommonConfig) -> t.Tuple[t.Tuple
|
||||||
|
|
||||||
for name, dest in ANSIBLE_BIN_SYMLINK_MAP.items():
|
for name, dest in ANSIBLE_BIN_SYMLINK_MAP.items():
|
||||||
path = os.path.join(temp_path, name)
|
path = os.path.join(temp_path, name)
|
||||||
os.link(dest, path)
|
os.symlink(dest, path)
|
||||||
|
|
||||||
return tuple((os.path.join(temp_path, name), os.path.join('bin', name)) for name in sorted(ANSIBLE_BIN_SYMLINK_MAP))
|
return tuple((os.path.join(temp_path, name), os.path.join('bin', name)) for name in sorted(ANSIBLE_BIN_SYMLINK_MAP))
|
||||||
|
|
Loading…
Reference in a new issue