summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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",