Skip to content

Commit

Permalink
Follow symlinks when copying automation repositories (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbarfuss authored May 3, 2021
1 parent e75c31c commit af7fadd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resource-dispatcher/execution/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def fn():
with tempfile.TemporaryDirectory() as temp_dir:
if os.path.exists("tmp"):
for repository in [f.name for f in os.scandir("tmp") if f.is_dir()]:
shutil.copytree("tmp/" + repository, temp_dir + "/" + repository)
shutil.copytree("tmp/" + repository, temp_dir + "/" + repository, symlinks=True)
with cd(temp_dir):
for step in task["steps"]:
# Load necessary execution plugin
Expand Down

0 comments on commit af7fadd

Please sign in to comment.