From 843e95fbafb59f8c0bb1a6449bbb9ae890f96359 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 22 Feb 2007 12:30:25 +0000 Subject: [PATCH] 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 --- bin/repoman | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: -- 2.26.2