From: Zac Medico Date: Sat, 18 Aug 2012 01:44:59 +0000 (-0700) Subject: emerge-delta-webrsync: normalize fetch URI X-Git-Tag: v2.2.0_alpha122~19 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a98eee34881f9a7180a5e467eaa63435efa890db;p=portage.git emerge-delta-webrsync: normalize fetch URI This will fix bug #124072. --- 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