Skip to content

Commit 8a03d79

Browse files
committed
handle symlink manifest entries in zip_main_maker
1 parent c49bb5d commit 8a03d79

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/private/zipapp/zip_main_maker.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ def compute_inputs_hash(manifest_path: str) -> str:
3939

4040
if type_ == "rf-empty":
4141
continue
42+
if type_ == "symlink":
43+
# The symlink path and the target it points to
44+
# are captured by hashing the entire line above.
45+
continue
4246

4347
is_symlink_str = parts[0]
4448
path = parts[-1]

0 commit comments

Comments
 (0)