Call realpath(repodir) so it's conistent with the value that pordbapi uses.
authorZac Medico <zmedico@gentoo.org>
Thu, 16 Apr 2009 18:04:38 +0000 (18:04 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 16 Apr 2009 18:04:38 +0000 (18:04 -0000)
Thanks to Fabian Groffen <grobian@g.o> for reporting.

svn path=/main/trunk/; revision=13349

bin/repoman

index f507051744df80ed7e0372a964146a38129d175d..f3c93addfc25ebcde39551fd9b0926e76fd07c74 100755 (executable)
@@ -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.")