mirror of
https://github.com/HelloZeroNet/ZeroNet.git
synced 2023-12-14 04:33:03 +01:00
Fix update script target directory
This commit is contained in:
parent
c7078be407
commit
8587f01caa
1 changed files with 1 additions and 2 deletions
|
@ -41,10 +41,9 @@ def update():
|
|||
for inner_path in inner_paths:
|
||||
if ".." in inner_path:
|
||||
continue
|
||||
inner_path = inner_path.replace("\\", "/") # Make sure we have unix path
|
||||
inner_path = inner_path.replace("\\", "/").strip("/") # Make sure we have unix path
|
||||
print(".", end=" ")
|
||||
dest_path = source_path + "/" + re.sub("^(core|platform/[^/]+/)/", "", inner_path)
|
||||
dest_path = dest_path.lstrip("/")
|
||||
if not dest_path:
|
||||
continue
|
||||
|
||||
|
|
Loading…
Reference in a new issue