1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-26 01:46:13 +01:00

change order of 'BUILD_ROOT', 'OSC_BUILD_ROOT' so the latter overrides the former

This commit is contained in:
Dr. Peter Poeml 2006-09-15 14:35:09 +00:00
parent 0631e8fcb1
commit 26ef33195e

View File

@ -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:]