From 354321c20e1a59c9820637f1002f2dc635f5eed0 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 30 Jun 2019 21:24:05 +0200 Subject: [PATCH] phase1: allow overriding config.ini location with env var Signed-off-by: Jo-Philipp Wich --- phase1/master.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phase1/master.cfg b/phase1/master.cfg index 5350a43..1061eb2 100644 --- a/phase1/master.cfg +++ b/phase1/master.cfg @@ -13,7 +13,7 @@ from buildbot import locks # 'master.cfg' in your buildmaster's base directory. ini = ConfigParser.ConfigParser() -ini.read("./config.ini") +ini.read(os.getenv("BUILDMASTER_CONFIG", "./config.ini")) # This is the dictionary that the buildmaster pays attention to. We also use # a shorter alias to save typing. -- 2.30.2