From ee7ee34f4669cfdef6867952b6830d15e4caae01 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 29 Aug 2011 08:57:55 -0700 Subject: [PATCH] env_update: fix breakage in last commit --- pym/portage/util/env_update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2