From a98eee34881f9a7180a5e467eaa63435efa890db Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 17 Aug 2012 18:44:59 -0700 Subject: [PATCH] emerge-delta-webrsync: normalize fetch URI This will fix bug #124072. --- misc/emerge-delta-webrsync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/emerge-delta-webrsync b/misc/emerge-delta-webrsync index 34c70940e..fffa815f6 100755 --- a/misc/emerge-delta-webrsync +++ b/misc/emerge-delta-webrsync @@ -296,7 +296,7 @@ fetch_from_mirrors() { fi FILE="$2" for i in $MIRRORS ; do - URI="${i}/${1}" + URI="${i%/}/${1#/}" if (eval "$FETCHCOMMAND $wgetops") && [ -s "${FILE}" ]; then return 0 else -- 2.26.2