]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
debug
authorHolger Levsen <holger@layer-acht.org>
Wed, 31 Aug 2011 18:28:48 +0000 (20:28 +0200)
committerHolger Levsen <holger@layer-acht.org>
Wed, 31 Aug 2011 18:28:48 +0000 (20:28 +0200)
build.py

index 99dc18dc016d201467c4058be7309a1a979511e9..a625610565400a6dcdbac5b24b4afdb0473a63bd 100755 (executable)
--- a/build.py
+++ b/build.py
@@ -364,7 +364,7 @@ if __name__ == '__main__':
 
        # i hate this: a version needs to include a . now...
        #cmd = ['grep-dctrl', '-n', '-s', 'Version', '.']
-       cmd = [ 'awk', '/^Version: /', '{print $2}']
+       cmd = [ "awk '/^Version: / {print $2}'"]
        grep_dctrl =  subprocess.Popen(
                 cmd,
                 shell=False,