From c970237634d15f7fcb676f9be8a45ad27f0c4944 Mon Sep 17 00:00:00 2001 From: Luca Falavigna Date: Fri, 26 Apr 2013 14:34:32 +0000 Subject: [PATCH] make-changelog: use a better separator for extracted files --- dak/make_changelog.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dak/make_changelog.py b/dak/make_changelog.py index 7dacf825..50307b15 100755 --- a/dak/make_changelog.py +++ b/dak/make_changelog.py @@ -194,7 +194,7 @@ def export_files(session, archive, clpool, progress=False): if not os.path.exists(path): os.makedirs(path) if not os.path.exists(os.path.join(path, \ - '%s_%s.changelog' % (p, sources[p][s][0]))): + '%s_%s_changelog' % (p, sources[p][s][0]))): if not unpack.has_key(os.path.join(pool, sources[p][s][1])): unpack[os.path.join(pool, sources[p][s][1])] = (path, set()) unpack[os.path.join(pool, sources[p][s][1])][1].add(s) @@ -222,9 +222,9 @@ def export_files(session, archive, clpool, progress=False): for file in files: for f in glob(os.path.join(tempdir, 'debian', '*%s' % file)): for s in unpack[p][1]: - suite = os.path.join(unpack[p][0], '%s.%s' \ + suite = os.path.join(unpack[p][0], '%s_%s' \ % (s, os.path.basename(f))) - version = os.path.join(unpack[p][0], '%s_%s.%s' % \ + version = os.path.join(unpack[p][0], '%s_%s_%s' % \ (package[0], package[1], os.path.basename(f))) if not os.path.exists(version): os.link(f, version) -- 2.39.5