]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
ugly but hopefully working
authorHolger Levsen <holger@layer-acht.org>
Sat, 17 Sep 2011 16:29:22 +0000 (18:29 +0200)
committerHolger Levsen <holger@layer-acht.org>
Sat, 17 Sep 2011 16:29:22 +0000 (18:29 +0200)
debian_build.py

index 50bb7f4bc30954c7ed66bb8e9c73b9b68aa7821d..c8b4de366288527ca63e52c4d39ba72b527ead6f 100755 (executable)
@@ -396,7 +396,9 @@ if __name__ == '__main__':
             )
            exit_error()
 
+        # FIXME: aka make it work now
         changelog = parse_changelog.stdout
+        changelog2 = changelog
 
        cmd = ['grep-dctrl', '-n', '-s', 'Distribution', '']
        grep_dctrl =  subprocess.Popen(
@@ -430,7 +432,7 @@ if __name__ == '__main__':
                 cmd,
                 shell=False,
                 close_fds=True,
-               stdin=changelog,
+               stdin=changelog2,
                 stdout=subprocess.PIPE,
                 stderr=sys.stderr,
                 cwd=os.getcwd()