# backupenv is used for calculating incremental variables.
self.backupenv = os.environ.copy()
- # make.globals should not be relative to config_root
- # because it only contains constants.
- self.mygcfg = getconfig(os.path.join("/etc", "make.globals"),
- expand=expand_map)
-
if env_d:
# Remove duplicate values so they don't override updated
# profile.env values later (profile.env is reloaded in each
self.configdict["env"] = self.backupenv.copy()
+ # make.globals should not be relative to config_root
+ # because it only contains constants.
+ self.mygcfg = getconfig(os.path.join("/etc", "make.globals"),
+ expand=expand_map)
+
if self.mygcfg is None:
self.mygcfg = {}