From 00f2a30a2b3c464ff2deb6121648a7322bbcd272 Mon Sep 17 00:00:00 2001 From: rdb Date: Wed, 12 Jan 2011 15:08:10 +0000 Subject: [PATCH] don't remove .h files from include dir --- makepanda/makepandacore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makepanda/makepandacore.py b/makepanda/makepandacore.py index 6d5765d413..248ce76745 100644 --- a/makepanda/makepandacore.py +++ b/makepanda/makepandacore.py @@ -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] == "-"):