Browse Source

makepanda: Amend self-destruct to catch some missing composite files

Sam Edwards 9 years ago
parent
commit
2288a602ae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      makepanda/selfdestruct.py

+ 1 - 1
makepanda/selfdestruct.py

@@ -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))