mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-05 03:15:07 -04:00
deploy-ng: Fix exclude paths on Windows
This commit is contained in:
parent
c1f0545359
commit
61513593c5
@ -245,8 +245,10 @@ class build_apps(distutils.core.Command):
|
|||||||
dst = os.path.normpath(dst)
|
dst = os.path.normpath(dst)
|
||||||
|
|
||||||
for pattern in ignore_copy_list:
|
for pattern in ignore_copy_list:
|
||||||
#print("check ignore:", pattern, src, pattern.matches(src))
|
# Normalize file paths across platforms
|
||||||
if pattern.matches(src):
|
path = p3d.Filename.from_os_specific(src).get_fullpath()
|
||||||
|
#print("check ignore:", pattern, src, pattern.matches(path))
|
||||||
|
if pattern.matches(path):
|
||||||
print("skipping file", src)
|
print("skipping file", src)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user