From b3d2ac7510e82a0d21ba7aa99d067f4829ef6ecf Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 3 Apr 2011 08:54:10 -0700 Subject: [PATCH] repoman: fix profiles.desc overlay path Thanks to Alexey Shvetsov for reporting this issue and testing the fix. --- bin/repoman | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.26.2