pass _eprefix to respect the offset
authorFabian Groffen <grobian@gentoo.org>
Tue, 28 Sep 2010 19:01:39 +0000 (21:01 +0200)
committerFabian Groffen <grobian@gentoo.org>
Tue, 28 Sep 2010 19:01:39 +0000 (21:01 +0200)
bin/repoman

index 15ea8cfe2161364d22dbf7637c461750d2b36137..3903ebc5d69c145e27dcdcd66c4d7b0f4099a2cf 100755 (executable)
@@ -569,7 +569,7 @@ repoman_settings['PORTDIR_OVERLAY'] = "%s %s" % \
        (repoman_settings.get('PORTDIR_OVERLAY', ''), portdir_overlay)
 # We have to call the config constructor again so
 # that config.repositories is initialized correctly.
-repoman_settings = portage.config(local_config=False, env=dict(os.environ,
+repoman_settings = portage.config(local_config=False, _eprefix=EPREFIX, env=dict(os.environ,
        PORTDIR_OVERLAY=repoman_settings['PORTDIR_OVERLAY']))
 
 root = '/'