From: Holger Levsen Date: Tue, 25 Oct 2011 18:50:24 +0000 (+0200) Subject: strip newline from flavour X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=f56c67eb67dfbf60075650b002c727324687856f;p=profitbricks%2Fjenkins-build-scripts.git strip newline from flavour --- diff --git a/debian_build.py b/debian_build.py index 5c83d6c..9c29f9d 100755 --- a/debian_build.py +++ b/debian_build.py @@ -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))