[matter] run env-update only AFTER packages build

This commit is contained in:
Fabio Erculiani
2011-08-06 14:41:32 +02:00
parent 9273ee5320
commit ccd49982a7

View File

@@ -568,8 +568,6 @@ class PackageBuilder(object):
finally:
os.remove(tmp_path)
if exit_st == 0:
subprocess.call(["env-update"])
return exit_st
def _run_builder(self, env):
@@ -744,6 +742,7 @@ class PackageBuilder(object):
emerge_trees, mtimedb, retval)
sys.exit = sys_exit
subprocess.call(["env-update"])
print_info("portage spawned, return value: %d" % (retval,))
return retval