summaryrefslogtreecommitdiffstats
path: root/bin/repoman
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-04-03 08:54:10 -0700
committerZac Medico <zmedico@gentoo.org>2011-04-13 00:49:21 -0700
commitb3d2ac7510e82a0d21ba7aa99d067f4829ef6ecf (patch)
tree58cca4c88d8eb15e021421adaf8095e3aadcbb7d /bin/repoman
parent208260f4313489d9eb3d7fb318df64d1a7d4cd7b (diff)
downloadportage-b3d2ac7510e82a0d21ba7aa99d067f4829ef6ecf.tar.gz
portage-b3d2ac7510e82a0d21ba7aa99d067f4829ef6ecf.tar.bz2
portage-b3d2ac7510e82a0d21ba7aa99d067f4829ef6ecf.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/repoman')
-rwxr-xr-xbin/repoman2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman
index 723690991..0c6f6552a 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -721,7 +721,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",