summaryrefslogtreecommitdiffstats
path: root/bin/repoman
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-04-16 18:04:38 +0000
committerZac Medico <zmedico@gentoo.org>2009-04-16 18:04:38 +0000
commit9ff41ae9181778b7b67b8f2271b5724f240d4098 (patch)
treef2689bb4942c12f18943f9455ebe8504ea2a39f5 /bin/repoman
parent6bdf6f520f075b254fc6660f5aac1c4f4f2fd4d4 (diff)
downloadportage-9ff41ae9181778b7b67b8f2271b5724f240d4098.tar.gz
portage-9ff41ae9181778b7b67b8f2271b5724f240d4098.tar.bz2
portage-9ff41ae9181778b7b67b8f2271b5724f240d4098.zip
Call realpath(repodir) so it's conistent with the value that pordbapi uses.
Thanks to Fabian Groffen <grobian@g.o> for reporting. svn path=/main/trunk/; revision=13349
Diffstat (limited to 'bin/repoman')
-rwxr-xr-xbin/repoman1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/repoman b/bin/repoman
index f50705174..f3c93addf 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -535,6 +535,7 @@ startdir = normalize_path(mydir)
repodir = startdir
for x in range(0, repolevel - 1):
repodir = os.path.dirname(repodir)
+repodir = os.path.realpath(repodir)
def caterror(mycat):
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.")