projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e38a02
)
repoman: normalize thirdpartymirrors trailing /
author
Zac Medico
<zmedico@gentoo.org>
Wed, 8 Feb 2012 16:35:50 +0000
(08:35 -0800)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 8 Feb 2012 16:35:50 +0000
(08:35 -0800)
bin/repoman
patch
|
blob
|
history
diff --git
a/bin/repoman
b/bin/repoman
index bee6661db1593a37e6a6276b4afc5e55b7cd8ba5..e54967d801f17f15c56ff8dd9fddd756859d187a 100755
(executable)
--- a/
bin/repoman
+++ b/
bin/repoman
@@
-1171,7
+1171,10
@@
check_ebuild_notadded = not \
# Build a regex from thirdpartymirrors for the SRC_URI.mirror check.
thirdpartymirrors = []
for v in repoman_settings.thirdpartymirrors().values():
- thirdpartymirrors.extend(v)
+ for v in v:
+ if not v.endswith("/"):
+ v += "/"
+ thirdpartymirrors.append(v)
class _MetadataTreeBuilder(xml.etree.ElementTree.TreeBuilder):
"""