From 81f7c1ffcd72a0bb11e2c72434adecd5b42dbbde Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Mon, 27 Aug 2012 10:58:56 +0300 Subject: [PATCH] conf: don't use '/etc/gbs.conf' Drop the usage of the system level config file. Signed-off-by: Markus Lehtonen --- gitbuildsys/conf.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gitbuildsys/conf.py b/gitbuildsys/conf.py index 65e23df..d7bdc77 100644 --- a/gitbuildsys/conf.py +++ b/gitbuildsys/conf.py @@ -242,8 +242,7 @@ distconf = $build__distconf """ paths = [] - for path in ('/etc/gbs.conf', - os.path.expanduser('~/.gbs.conf'), + for path in (os.path.expanduser('~/.gbs.conf'), os.path.abspath('.gbs.conf'), os.path.abspath('.git/gbs.conf')): if os.path.exists(path) and path not in paths: -- 2.7.4