From: Holger Levsen Date: Wed, 31 Aug 2011 18:27:34 +0000 (+0200) Subject: last try X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=e461fa4f567cc26eaf84e755f18e1b5778204e2e;p=profitbricks%2Fjenkins-build-scripts.git last try --- diff --git a/build.py b/build.py index 33f590c..99dc18d 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,