Fix ansible-test bin creation.

Use symlink instead of link.
This commit is contained in:
Matt Clay 2019-08-16 12:47:21 -07:00
parent 6a5cbcf8b8
commit ebe55e83c3

View file

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