#8769 Don't check .cl files

This commit is contained in:
amai2012 2019-01-10 17:02:57 +01:00
parent 205179fbb8
commit d3a10d3675
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ def unpackPackage(workPath, tgz):
if member.name.startswith(('/', '..')):
# Skip dangerous file names
continue
elif member.name.lower().endswith(('.c', '.cl', '.cpp', '.cxx', '.cc', '.c++', '.h', '.hpp', '.hxx', '.hh', '.tpp', '.txx')):
elif member.name.lower().endswith(('.c', '.cpp', '.cxx', '.cc', '.c++', '.h', '.hpp', '.hxx', '.hh', '.tpp', '.txx')):
try:
tf.extract(member.name)
except OSError: