mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-05 07:03:38 +02:00
allow to specify a different config file via the environmental variable OSC_CONFIG
This commit is contained in:
@@ -166,7 +166,8 @@ def get_config():
|
||||
import sys
|
||||
global config
|
||||
|
||||
conffile = os.path.expanduser('~/.oscrc')
|
||||
conffile = os.environ.get('OSC_CONFIG', '~/.oscrc')
|
||||
conffile = os.path.expanduser(conffile)
|
||||
|
||||
if not os.path.exists(conffile):
|
||||
|
||||
|
Reference in New Issue
Block a user