summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-04-30 07:05:34 +0000
committerZac Medico <zmedico@gentoo.org>2009-04-30 07:05:34 +0000
commit0da898aa3a36667b5ea01d47a98a8952ea6a909d (patch)
tree8c080e06c9a7e7bc41ab91fb1acfb1ffcd57c1e3
parentAvoid leaking some variables from ebuild_main() into the environment (local (diff)
downloadportage-multirepo-0da898aa3a36667b5ea01d47a98a8952ea6a909d.tar.gz
portage-multirepo-0da898aa3a36667b5ea01d47a98a8952ea6a909d.tar.bz2
portage-multirepo-0da898aa3a36667b5ea01d47a98a8952ea6a909d.zip
Set local_config=False in config constructor calls, since egencache is similar
to repoman in the way that it's used to distribute something to other users and thus site-specific local configuration is irrelevant. (trunk r13323) svn path=/main/branches/2.1.6/; revision=13488
-rwxr-xr-xbin/egencache4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/egencache b/bin/egencache
index 4103651d..a9dc767b 100755
--- a/bin/egencache
+++ b/bin/egencache
@@ -277,7 +277,7 @@ def egencache_main(args):
env['PORTAGE_DEPCACHEDIR'] = options.cache_dir
settings = portage.config(config_root=config_root,
- target_root='/', env=env)
+ target_root='/', local_config=False, env=env)
default_opts = None
if not options.ignore_default_opts:
@@ -293,7 +293,7 @@ def egencache_main(args):
env['PORTAGE_DEPCACHEDIR'] = options.cache_dir
settings = portage.config(config_root=config_root,
- target_root='/', env=env)
+ target_root='/', local_config=False, env=env)
if not options.update:
parser.error('No action specified (--update ' + \