]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
strip newline from flavour
authorHolger Levsen <holger@layer-acht.org>
Tue, 25 Oct 2011 18:50:24 +0000 (20:50 +0200)
committerHolger Levsen <holger@layer-acht.org>
Tue, 25 Oct 2011 18:50:24 +0000 (20:50 +0200)
debian_build.py

index 5c83d6cabc2e18c92d49ba61bd9381229498ace2..9c29f9d282c3d079f6e27ef8b91bab42391336c0 100755 (executable)
@@ -488,7 +488,7 @@ if __name__ == '__main__':
             for flavour in fh.readlines():
                 cmd = ['%s' % os.path.join(CWD, "build-oot.sh"),
                        '%s' % JOB_NAME,
-                       '%s' % flavour,
+                       '%s' % flavour.rstrip('\n'),
                        '%s' % os.environ.get('DIST'),
                        '%s' % pb_suite ]
                 logger.info('calling "%s" ...', ' '.join(cmd))