Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r13505 - main/branches/2.1.6/bin
Date: Thu, 30 Apr 2009 07:13:23
Message-Id: E1LzQSO-0008E6-ID@stork.gentoo.org
1 Author: zmedico
2 Date: 2009-04-30 07:13:20 +0000 (Thu, 30 Apr 2009)
3 New Revision: 13505
4
5 Modified:
6 main/branches/2.1.6/bin/repoman
7 Log:
8 Call realpath(repodir) so it's conistent with the value that pordbapi uses.
9 Thanks to Fabian Groffen <grobian@g.o> for reporting. (trunk r13349)
10
11 Modified: main/branches/2.1.6/bin/repoman
12 ===================================================================
13 --- main/branches/2.1.6/bin/repoman 2009-04-30 07:12:58 UTC (rev 13504)
14 +++ main/branches/2.1.6/bin/repoman 2009-04-30 07:13:20 UTC (rev 13505)
15 @@ -535,6 +535,7 @@
16 repodir = startdir
17 for x in range(0, repolevel - 1):
18 repodir = os.path.dirname(repodir)
19 +repodir = os.path.realpath(repodir)
20
21 def caterror(mycat):
22 err(mycat+" is not an official category. Skipping QA checks in this directory.\nPlease ensure that you add "+catdir+" to "+repodir+"/profiles/categories\nif it is a new category.")