1 |
commit: 85c176d5258b16eb5d1122218c23c62b978e304b |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 3 15:54:10 2011 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 3 15:54:10 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=85c176d5 |
7 |
|
8 |
repoman: fix profiles.desc overlay path |
9 |
|
10 |
Thanks to Alexey Shvetsov <alexxy <AT> gentoo.org> for reporting this issue |
11 |
and testing the fix. |
12 |
|
13 |
--- |
14 |
bin/repoman | 2 +- |
15 |
1 files changed, 1 insertions(+), 1 deletions(-) |
16 |
|
17 |
diff --git a/bin/repoman b/bin/repoman |
18 |
index 8f36372..9156a46 100755 |
19 |
--- a/bin/repoman |
20 |
+++ b/bin/repoman |
21 |
@@ -722,7 +722,7 @@ for path in portdb.porttrees: |
22 |
elif arch[2] not in valid_profile_types: |
23 |
err("invalid profile type: \"" + bad(arch[2]) + "\" in " + \ |
24 |
desc_path + " line %d" % (i+1, )) |
25 |
- profile_desc = ProfileDesc(arch[0], arch[2], arch[1], portdir) |
26 |
+ profile_desc = ProfileDesc(arch[0], arch[2], arch[1], path) |
27 |
if not os.path.isdir(profile_desc.abs_path): |
28 |
logging.error( |
29 |
"Invalid %s profile (%s) for arch %s in %s line %d", |