Fix ansible-test bin creation.

Use symlink instead of link.
pull/60666/merge
Matt Clay 5 years ago
parent 6a5cbcf8b8
commit ebe55e83c3

@ -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():
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))

Loading…
Cancel
Save