]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
feed it into stdin
authorHolger Levsen <holger@layer-acht.org>
Wed, 31 Aug 2011 17:32:28 +0000 (19:32 +0200)
committerHolger Levsen <holger@layer-acht.org>
Wed, 31 Aug 2011 17:32:28 +0000 (19:32 +0200)
build.py

index edbfd65d02d54ee3b0555d5e754e09f70b513c59..9fa102819d28fc8d3d9b8a32c387738e1e4f5e53 100755 (executable)
--- a/build.py
+++ b/build.py
@@ -360,11 +360,12 @@ if __name__ == '__main__':
         stdout_msg = parse_changelog.stdout.read()
         logger.info(stdout_msg)
 
-       cmd = ['grep-dctrl', '-n', '-s', "Version ''", stdout_msg]
+       cmd = ['grep-dctrl', '-n', '-s', "Version ''"]
        grep_dctrl =  subprocess.Popen(
                 cmd,
                 shell=False,
                 close_fds=True,
+               stdin=stdout_msg,
                 stdout=subprocess.PIPE,
                 stderr=subprocess.PIPE,
                 cwd='./'