[kernel] r20034 - dists/sid/linux-latest/debian/bin
Ben Hutchings
benh at alioth.debian.org
Mon May 6 02:24:06 UTC 2013
Author: benh
Date: Mon May 6 02:24:06 2013
New Revision: 20034
Log:
Fix Gencontrol.get_link_commands after previous change to the package name regex
Modified:
dists/sid/linux-latest/debian/bin/gencontrol.py
Modified: dists/sid/linux-latest/debian/bin/gencontrol.py
==============================================================================
--- dists/sid/linux-latest/debian/bin/gencontrol.py Mon May 6 02:11:26 2013 (r20033)
+++ dists/sid/linux-latest/debian/bin/gencontrol.py Mon May 6 02:24:06 2013 (r20034)
@@ -152,13 +152,7 @@
match = re.match(ur'^(linux-\w+)(-.*)$', package['Package'])
if not match:
continue
- if match.group(2):
- source = 'debian/%s%s.%s' % (match.group(1), match.group(3),
- name)
- else:
- source = None
- if not (source and os.path.isfile(source)):
- source = 'debian/%s.%s' % (match.group(1), name)
+ source = 'debian/%s.%s' % (match.group(1), name)
dest = 'debian/%s.%s' % (package['Package'], name)
if (os.path.isfile(source) and
(not os.path.isfile(dest) or os.path.islink(dest))):
More information about the Kernel-svn-changes
mailing list