From 2288a602aebf7b2440a8b63db9a186fd13065982 Mon Sep 17 00:00:00 2001 From: Sam Edwards Date: Mon, 26 Dec 2016 14:47:58 -0700 Subject: [PATCH] makepanda: Amend self-destruct to catch some missing composite files --- makepanda/selfdestruct.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makepanda/selfdestruct.py b/makepanda/selfdestruct.py index 636f23dee5..79518a72d4 100755 --- a/makepanda/selfdestruct.py +++ b/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))