mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -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 = "."
|
if dir == "": dir = "."
|
||||||
for entry in os.listdir(dir):
|
for entry in os.listdir(dir):
|
||||||
subdir = os.path.join(dir, entry)
|
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)
|
os.remove(subdir)
|
||||||
elif (os.path.isdir(subdir)):
|
elif (os.path.isdir(subdir)):
|
||||||
if (os.path.basename(subdir)[:3] == "Opt" and os.path.basename(subdir)[4] == "-"):
|
if (os.path.basename(subdir)[:3] == "Opt" and os.path.basename(subdir)[4] == "-"):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user