Commit 3a4dd523 by James Cammarata

Fix bug where we calculated the relative path of recurisive copies wrong

Fixes #11470
parent a1a8997e
......@@ -90,7 +90,7 @@ class ActionModule(ActionBase):
if os.path.isdir(source):
# Get the amount of spaces to remove to get the relative path.
if source_trailing_slash:
sz = len(source)
sz = len(source) + 1
else:
sz = len(source.rsplit('/', 1)[0]) + 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment