mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-26 18:06:13 +01:00
change order of 'BUILD_ROOT', 'OSC_BUILD_ROOT' so the latter overrides the former
This commit is contained in:
parent
0631e8fcb1
commit
26ef33195e
@ -234,7 +234,7 @@ pass: %s
|
||||
config = dict(config.items('general', raw=1))
|
||||
|
||||
# make it possible to override configuration of the rc file
|
||||
for var in ['OSC_PACKAGECACHEDIR', 'OSC_SU_WRAPPER', 'OSC_BUILD_ROOT', 'BUILD_ROOT']:
|
||||
for var in ['OSC_PACKAGECACHEDIR', 'OSC_SU_WRAPPER', 'BUILD_ROOT', 'OSC_BUILD_ROOT']:
|
||||
val = os.getenv(var)
|
||||
if val:
|
||||
if var.startswith('OSC_'): var = var[4:]
|
||||
|
Loading…
Reference in New Issue
Block a user