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

svn path=/main/branches/2.1.6/; revision=13505

bin/repoman

index 5a27b95c2904a3979f929f509ccfcaa58021681e..74f629408efbdce241d5566b459e6d4daafbe4b0 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.")