mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
patchupdate.py: Ignore patch files which do not start with a number.
This commit is contained in:
parent
eadd577d84
commit
f30b0e34fb
4
debian/tools/patchupdate.py
vendored
4
debian/tools/patchupdate.py
vendored
@ -257,7 +257,9 @@ def read_patchset(revision = None):
|
||||
|
||||
# Enumerate .patch files in the given directory, enumerate individual patches and affected files
|
||||
for f in sorted(os.listdir(subdirectory)):
|
||||
if not f.endswith(".patch") or not os.path.isfile(os.path.join(subdirectory, f)):
|
||||
if not re.match("^[0-9]{4}-.*\\.patch$", f):
|
||||
continue
|
||||
if not os.path.isfile(os.path.join(subdirectory, f)):
|
||||
continue
|
||||
patch.files.append(f)
|
||||
for p in patchutils.read_patch(os.path.join(subdirectory, f)):
|
||||
|
Loading…
x
Reference in New Issue
Block a user