Skip to content

Commit

Permalink
fix(tar): handle directories with spaces in name (#984)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle authored Nov 22, 2024
1 parent eb4c47f commit 42c3ce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/tar.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ def _expand(file, expander, transform = to_repository_relative_path):
if i == 1:
parent += "/"

lines.append(_mtree_line(parent, "dir"))
lines.append(_mtree_line(_vis_encode(parent), "dir"))

lines.append(_mtree_line(_vis_encode(path), "file", content = _vis_encode(e.path)))
return lines
Expand Down

0 comments on commit 42c3ce7

Please sign in to comment.