From: Holger Levsen Date: Wed, 31 Aug 2011 18:25:27 +0000 (+0200) Subject: escape routines are important X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=e911deb0b6171914cb9bcf60eaebd502863a7741;p=profitbricks%2Fjenkins-build-scripts.git escape routines are important --- diff --git a/build.py b/build.py index dca3159..33f590c 100755 --- 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,