Fix up changelog after
authorSam Hartman <hartmans@debian.org>
Wed, 26 Aug 2015 18:57:28 +0000 (14:57 -0400)
committerSam Hartman <hartmans@debian.org>
Wed, 26 Aug 2015 18:57:28 +0000 (14:57 -0400)
debian-builder

index c26c2e4..c778fd4 100755 (executable)
@@ -87,6 +87,7 @@ def build(package):
             for f in dsc_files(dsc_name):
                 try: os.unlink(f)
                 except OSError: pass
+            with current_directory(package_path): run_cmd('git checkout debian/changelog', shell=True)
     with current_directory(build_place):
         sb = ['sbuild', '-n', '-d', distribution, '--setup-hook',
     build_place + '/add_source']