Set local_config=False in config constructor calls, since egencache is similar
authorZac Medico <zmedico@gentoo.org>
Thu, 30 Apr 2009 07:05:34 +0000 (07:05 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 30 Apr 2009 07:05:34 +0000 (07:05 -0000)
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

bin/egencache

index 4103651d50d44b3eb1f6f337929a303c2e94a099..a9dc767b449b4a9301dcd4c5c022d30ec42bd401 100755 (executable)
@@ -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 ' + \