aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-04-03 08:54:10 -0700
committerZac Medico <zmedico@gentoo.org>2011-04-03 08:54:10 -0700
commit85c176d5258b16eb5d1122218c23c62b978e304b (patch)
tree2276b7c93dc0a6c0d54918d19aaa4f417d39288e /bin
parentDisplay: fix fetch restrict msg for RO_DISTDIRS (diff)
downloadportage-85c176d5258b16eb5d1122218c23c62b978e304b.tar.gz
portage-85c176d5258b16eb5d1122218c23c62b978e304b.tar.bz2
portage-85c176d5258b16eb5d1122218c23c62b978e304b.zip
repoman: fix profiles.desc overlay path
Thanks to Alexey Shvetsov <alexxy@gentoo.org> for reporting this issue and testing the fix.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/repoman2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman
index 8f363722d..9156a4624 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -722,7 +722,7 @@ for path in portdb.porttrees:
elif arch[2] not in valid_profile_types:
err("invalid profile type: \"" + bad(arch[2]) + "\" in " + \
desc_path + " line %d" % (i+1, ))
- profile_desc = ProfileDesc(arch[0], arch[2], arch[1], portdir)
+ profile_desc = ProfileDesc(arch[0], arch[2], arch[1], path)
if not os.path.isdir(profile_desc.abs_path):
logging.error(
"Invalid %s profile (%s) for arch %s in %s line %d",