genorig: double digit version match
Fix patch name match accordingly to tarball match Signed-off-by: maximilian attems <maks@debian.org> svn path=/dists/trunk/linux/; revision=21297
This commit is contained in:
parent
13c1700f3a
commit
0950a2a259
|
@ -81,7 +81,7 @@ class Main(object):
|
|||
|
||||
def upstream_patch(self, input_patch):
|
||||
self.log("Patching source with %s\n" % input_patch)
|
||||
match = re.match(r'(^|.*/)patch-\d+\.\d+\.\d+(-\S+?)?(\.(?P<extension>(bz2|gz|xz)))?$', input_patch)
|
||||
match = re.match(r'(^|.*/)patch-\d+\.\d+(\.\d+)?(-\S+?)?(\.(?P<extension>(bz2|gz|xz)))?$', input_patch)
|
||||
if not match:
|
||||
raise RuntimeError("Can't identify name of patch")
|
||||
cmdline = []
|
||||
|
|
Loading…
Reference in New Issue