only use patch files ending in .patch
This commit is contained in:
parent
dcbe99e9e1
commit
6710853fce
1 changed files with 1 additions and 1 deletions
|
|
@ -168,7 +168,7 @@ class WindowsBuild(object):
|
|||
"""Apply patches in patchdir to files in sourcedir)"""
|
||||
patches = [patch for patch in os.listdir(patchdir) if \
|
||||
os.path.isfile(os.path.join(patchdir, patch)) and \
|
||||
not patch.startswith('.')]
|
||||
patch.endswith('.patch')]
|
||||
if not patches:
|
||||
raise BuildError, 'no patches found at %s' % patchdir
|
||||
patches.sort()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue