From c316b60d59db592037c163a8c06908ac05988e5c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 22 Feb 2007 12:30:55 +0000 Subject: [PATCH] Use startdir instead of mydir since mydir has a trailing slash which triggers normalization issues with the dirname function. (trunk r6030:6031) svn path=/main/branches/2.1.2/; revision=6032 --- bin/repoman | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/repoman b/bin/repoman index 8d7e1346d..bdd04b088 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1663,7 +1663,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 @@ -1674,7 +1674,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 @@ -1686,7 +1686,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