]> err.no Git - dak/commitdiff
Fix glob regex, which generated wrong filenames
authorLuca Falavigna <dktrkranz@debian.org>
Mon, 20 May 2013 22:51:16 +0000 (22:51 +0000)
committerLuca Falavigna <dktrkranz@debian.org>
Mon, 20 May 2013 22:52:17 +0000 (22:52 +0000)
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
dak/make_changelog.py

index 1f1b1ca3c46ec0b31fc866bcb89217d79d9b1b56..7d3132eb28a42260847fc6919716a556d3562028 100755 (executable)
@@ -201,7 +201,7 @@ def export_files(session, archive, clpool, progress=False):
                     unpack[os.path.join(pool, sources[p][s][1])] = (path, set())
                 unpack[os.path.join(pool, sources[p][s][1])][1].add(s)
             else:
-                for file in glob('%s/%s_%s*' % (path, p, sources[p][s][0])):
+                for file in glob('%s/%s_%s_*' % (path, p, sources[p][s][0])):
                     link = '%s%s' % (s, file.split('%s_%s' \
                                       % (p, sources[p][s][0]))[1])
                     try: