Skip to content

Commit

Permalink
Revert "ovl: fix absolute path handling"
Browse files Browse the repository at this point in the history
This reverts commit 104a804.
  • Loading branch information
aitjcize committed May 11, 2024
1 parent 104a804 commit 3611689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ovl.py
Original file line number Diff line number Diff line change
Expand Up @@ -1236,7 +1236,7 @@ def _push_single_target(src, dst):
# If dest_dir does not exist, the resulting directory structure should
# be:
# dest_dir/A
dst_root = os.path.basename(root) if dst_exists else ''
dst_root = root if dst_exists else root[len(src):].lstrip('/')
for name in files:
_push(os.path.join(root, name),
os.path.join(dst, dst_root, name))
Expand Down

0 comments on commit 3611689

Please sign in to comment.