Be a bit more specific

This commit is contained in:
Kovid Goyal 2018-03-12 07:52:08 +05:30
parent 32473d7dc7
commit 2c8414db5d
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -624,7 +624,7 @@ def clean():
ext = f.rpartition('.')[-1] ext = f.rpartition('.')[-1]
if ext in ('so', 'dylib', 'pyc', 'pyo'): if ext in ('so', 'dylib', 'pyc', 'pyo'):
os.unlink(os.path.join(root, f)) os.unlink(os.path.join(root, f))
for x in glob.glob('glfw/*-protocol.[ch]'): for x in glob.glob('glfw/wayland-*-protocol.[ch]'):
os.unlink(x) os.unlink(x)