Lines 102-108
Link Here
|
102 |
def load_default_config(settings, trees): |
102 |
def load_default_config(settings, trees): |
103 |
setconfigpaths = [os.path.join(GLOBAL_CONFIG_PATH, "sets.conf")] |
103 |
setconfigpaths = [os.path.join(GLOBAL_CONFIG_PATH, "sets.conf")] |
104 |
setconfigpaths.append(os.path.join(settings["PORTDIR"], "sets.conf")) |
104 |
setconfigpaths.append(os.path.join(settings["PORTDIR"], "sets.conf")) |
105 |
setconfigpaths += [os.path.join(x, "sets.conf") for x in settings["PORDIR_OVERLAY"].split()] |
105 |
setconfigpaths += [os.path.join(x, "sets.conf") for x in settings["PORTDIR_OVERLAY"].split()] |
106 |
setconfigpaths.append(os.path.join(settings["PORTAGE_CONFIGROOT"], |
106 |
setconfigpaths.append(os.path.join(settings["PORTAGE_CONFIGROOT"], |
107 |
USER_CONFIG_PATH.lstrip(os.path.sep), "sets.conf")) |
107 |
USER_CONFIG_PATH.lstrip(os.path.sep), "sets.conf")) |
108 |
return SetConfig(setconfigpaths, settings, trees) |
108 |
return SetConfig(setconfigpaths, settings, trees) |