stop site.py from absolutizing zip store path

This commit is contained in:
ahgamut 2021-08-18 06:41:35 +05:30
parent 89f2356e11
commit e68649e4b5

View file

@ -123,6 +123,9 @@ def removeduppaths():
# Filter out duplicate paths (on case-insensitive file systems also
# if they only differ in case); turn relative paths into absolute
# paths.
if dir.startswith("zip!"): # don't absolutize, look within the APE!
L.append(dir)
continue
dir, dircase = makepath(dir)
if not dircase in known_paths:
L.append(dir)