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

index 3c216c147b5e9b67bed1297f50bc2f07ab8f3d2a..4ef13442f1dda2d833935b912746cd7c6c95ea76 100755 (executable)
--- a/build.py
+++ b/build.py
@@ -362,7 +362,7 @@ if __name__ == '__main__':
 
         logger.info(stdout_msg)
 
-       cmd = ['grep-dctrl', '-n', '-s', 'Version', "''"]
+       cmd = ['grep-dctrl', '-n', '-s', 'Version', '-!', 'thereisnoversionwithsuchastring']
        grep_dctrl =  subprocess.Popen(
                 cmd,
                 shell=False,