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

index 4ef13442f1dda2d833935b912746cd7c6c95ea76..64075c534551f4140b7cd929d61d851153ce551f 100755 (executable)
--- a/build.py
+++ b/build.py
@@ -362,7 +362,8 @@ if __name__ == '__main__':
 
         logger.info(stdout_msg)
 
-       cmd = ['grep-dctrl', '-n', '-s', 'Version', '-!', 'thereisnoversionwithsuchastring']
+       # i hate this: a version needs to include a . now...
+       cmd = ['grep-dctrl', '-n', '-s', 'Version', '.']
        grep_dctrl =  subprocess.Popen(
                 cmd,
                 shell=False,