makepanda: Amend self-destruct to catch some missing composite files
This commit is contained in:
parent
53d946ff87
commit
2288a602ae
|
|
@ -34,5 +34,5 @@ for project in projects:
|
|||
for path, dirs, files in os.walk(os.path.join(root, project)):
|
||||
# Get rid of _composite#.cxx files
|
||||
for filename in files:
|
||||
if re.match(r'.*_composite[0-9]+\.cxx', filename):
|
||||
if re.match(r'.*_composite[0-9]*\.(cxx|h|mm)', filename):
|
||||
os.unlink(os.path.join(path, filename))
|
||||
|
|
|
|||
Loading…
Reference in New Issue