From: Luca Falavigna Date: Mon, 20 May 2013 22:51:16 +0000 (+0000) Subject: Fix glob regex, which generated wrong filenames X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=473785a0a52c1d84976ba6a8191bdeb1f5c337f2;p=dak Fix glob regex, which generated wrong filenames Signed-off-by: Luca Falavigna --- diff --git a/dak/make_changelog.py b/dak/make_changelog.py index 1f1b1ca3..7d3132eb 100755 --- a/dak/make_changelog.py +++ b/dak/make_changelog.py @@ -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: