From: Zac Medico Date: Thu, 22 Feb 2007 12:30:25 +0000 (-0000) Subject: Use startdir instead of mydir since mydir has a trailing slash which triggers normali... X-Git-Tag: v2.2_pre1~1667 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=843e95fbafb59f8c0bb1a6449bbb9ae890f96359;p=portage.git Use startdir instead of mydir since mydir has a trailing slash which triggers normalization issues with the dirname function. svn path=/main/trunk/; revision=6031 --- diff --git a/bin/repoman b/bin/repoman index cd02e73ba..d5218e071 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1664,7 +1664,7 @@ else: del myfiles[x] mydone=[] if repolevel==3: # In a package dir - repoman_settings["O"] = mydir + repoman_settings["O"] = startdir portage.digestgen([], repoman_settings, manifestonly=1, myportdb=portdb) elif repolevel==2: # In a category dir @@ -1675,7 +1675,7 @@ else: if xs[0] in mydone: continue mydone.append(xs[0]) - repoman_settings["O"] = os.path.join(mydir, xs[0]) + repoman_settings["O"] = os.path.join(startdir, xs[0]) portage.digestgen([], repoman_settings, manifestonly=1, myportdb=portdb) elif repolevel==1: # repo-cvsroot @@ -1687,7 +1687,7 @@ else: if "/".join(xs[:2]) in mydone: continue mydone.append("/".join(xs[:2])) - repoman_settings["O"] = os.path.join(mydir, xs[0], xs[1]) + repoman_settings["O"] = os.path.join(startdir, xs[0], xs[1]) portage.digestgen([], repoman_settings, manifestonly=1, myportdb=portdb) else: