build: Also match the text between document and text like ASCII

This commit is contained in:
Ozan Çağlayan
2011-12-14 14:16:36 +00:00
parent e79f6567ef
commit 54ececc961
+1 -1
View File
@@ -119,7 +119,7 @@ def exclude_special_files(filepath, fileinfo, ag):
keeplist = ag.get("KeepSpecial", []) keeplist = ag.get("KeepSpecial", [])
patterns = {"libtool": "libtool library file", patterns = {"libtool": "libtool library file",
"python": "python.*byte-compiled", "python": "python.*byte-compiled",
"perl": "Perl POD document text"} "perl": "Perl POD document.* text"}
if "libtool" in keeplist: if "libtool" in keeplist:
# Some upstream sources have buggy libtool and ltmain.sh with them, # Some upstream sources have buggy libtool and ltmain.sh with them,