summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-04-30 07:13:20 +0000
committerZac Medico <zmedico@gentoo.org>2009-04-30 07:13:20 +0000
commitb34d0c67b39f459259e6982770b8bc2c8a5dac4c (patch)
treea1c6d466461953634dea2248be9ad1e864380fae
parentBug #265909 - Make emerge display a warning message if any overlays are (diff)
downloadportage-multirepo-b34d0c67b39f459259e6982770b8bc2c8a5dac4c.tar.gz
portage-multirepo-b34d0c67b39f459259e6982770b8bc2c8a5dac4c.tar.bz2
portage-multirepo-b34d0c67b39f459259e6982770b8bc2c8a5dac4c.zip
Call realpath(repodir) so it's conistent with the value that pordbapi uses.
Thanks to Fabian Groffen <grobian@g.o> for reporting. (trunk r13349) svn path=/main/branches/2.1.6/; revision=13505
-rwxr-xr-xbin/repoman1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/repoman b/bin/repoman
index 5a27b95c..74f62940 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.")