mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
deploy-ng: Use os.path.normpath() to cleanup directory names
This commit is contained in:
parent
bf5bddcbaf
commit
c0f0749c21
@ -234,7 +234,7 @@ class build_p3d(distutils.core.Command):
|
|||||||
distutils.file_util.copy_file(src, dst)
|
distutils.file_util.copy_file(src, dst)
|
||||||
|
|
||||||
for item in dirs[:]:
|
for item in dirs[:]:
|
||||||
path = os.path.join(builddir, root, item)
|
path = os.path.normpath(os.path.join(builddir, root, item))
|
||||||
if item in ignore_copy_list:
|
if item in ignore_copy_list:
|
||||||
print("skipping", path)
|
print("skipping", path)
|
||||||
dirs.remove(item)
|
dirs.remove(item)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user