From 4d4b444be9e89ac25f6919e95b3d7c775e1af212 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 8 Feb 2012 08:35:50 -0800 Subject: [PATCH] repoman: normalize thirdpartymirrors trailing / --- bin/repoman | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/repoman b/bin/repoman index bee6661db..e54967d80 100755 --- 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): """ -- 2.26.2