From: Zac Medico Date: Mon, 29 Aug 2011 15:57:55 +0000 (-0700) Subject: env_update: fix breakage in last commit X-Git-Tag: v2.2.0_alpha52~34 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ee7ee34f4669cfdef6867952b6830d15e4caae01;p=portage.git env_update: fix breakage in last commit --- diff --git a/pym/portage/util/env_update.py b/pym/portage/util/env_update.py index d47c69e1c..c670ded94 100644 --- a/pym/portage/util/env_update.py +++ b/pym/portage/util/env_update.py @@ -50,7 +50,7 @@ def env_update(makelinks=1, target_root=None, prev_mtimes=None, contents=None, else: settings = env - eprefix = env.get("EPREFIX", "") + eprefix = settings.get("EPREFIX", "") eprefix_lstrip = eprefix.lstrip(os.sep) envd_dir = os.path.join(target_root, eprefix_lstrip, "etc", "env.d") ensure_dirs(envd_dir, mode=0o755)