mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
don't remove .h files from include dir
This commit is contained in:
parent
a1433314d4
commit
00f2a30a2b
@ -700,7 +700,7 @@ def DeleteBuildFiles(dir):
|
||||
if dir == "": dir = "."
|
||||
for entry in os.listdir(dir):
|
||||
subdir = os.path.join(dir, entry)
|
||||
if (os.path.isfile(subdir) and os.path.splitext(subdir)[-1] in SUFFIX_INC+[".pp", ".moved"]):
|
||||
if (os.path.isfile(subdir) and os.path.splitext(subdir)[-1] in [".pp", ".moved"]):
|
||||
os.remove(subdir)
|
||||
elif (os.path.isdir(subdir)):
|
||||
if (os.path.basename(subdir)[:3] == "Opt" and os.path.basename(subdir)[4] == "-"):
|
||||
|
Loading…
x
Reference in New Issue
Block a user