From f56c67eb67dfbf60075650b002c727324687856f Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 25 Oct 2011 20:50:24 +0200 Subject: [PATCH] strip newline from flavour --- debian_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.39.5