summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-02-22 12:30:25 +0000
committerZac Medico <zmedico@gentoo.org>2007-02-22 12:30:25 +0000
commit843e95fbafb59f8c0bb1a6449bbb9ae890f96359 (patch)
tree96aef9b8b44ac107617d82625404c5575d490bc1
parent13b0c3cf9890b163a96ff3cfa8d00b072b48dcc1 (diff)
downloadportage-843e95fbafb59f8c0bb1a6449bbb9ae890f96359.tar.gz
portage-843e95fbafb59f8c0bb1a6449bbb9ae890f96359.tar.bz2
portage-843e95fbafb59f8c0bb1a6449bbb9ae890f96359.zip
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
-rwxr-xr-xbin/repoman6
1 files 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: