]> git.decadent.org.uk Git - dak.git/commitdiff
make-changelog: use a better separator for extracted files
authorLuca Falavigna <dktrkranz@debian.org>
Fri, 26 Apr 2013 14:34:32 +0000 (14:34 +0000)
committerLuca Falavigna <dktrkranz@debian.org>
Fri, 26 Apr 2013 14:34:32 +0000 (14:34 +0000)
dak/make_changelog.py

index 7dacf8252afd63f616528099aaa4289edd965110..50307b158250271769b595e8315421fb03f4efd3 100755 (executable)
@@ -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)