From: Holger Levsen Date: Tue, 1 Nov 2011 15:08:53 +0000 (+0100) Subject: set right suite even if triggered with the slightly wrong one X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=04ea95c78283cdcb7aa77692c513aa558dcfff70;p=profitbricks%2Fjenkins-build-scripts.git set right suite even if triggered with the slightly wrong one --- diff --git a/kernel_build.py b/kernel_build.py index 395195f..f819124 100644 --- a/kernel_build.py +++ b/kernel_build.py @@ -45,6 +45,8 @@ SUDO = '/usr/bin/sudo' env = os.environ env['PB_SUITE'] = os.environ.get('DISTRIBUTION') +if os.environ.get('DISTRIBUTION') == 'production': + env['PB_SUITE'] = 'production-proposed-updates' logger = logging.getLogger(sys.argv[0]) logger.setLevel(logging.DEBUG)