aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-08-17 18:44:59 -0700
committerZac Medico <zmedico@gentoo.org>2012-08-17 18:44:59 -0700
commita98eee34881f9a7180a5e467eaa63435efa890db (patch)
treee96d47e92e86f909b3f0f42d3b3e6687125e3dc8
parentemerge-delta-webrsync: PORTAGE_RSYNC_OPTS (diff)
downloadportage-a98eee34881f9a7180a5e467eaa63435efa890db.tar.gz
portage-a98eee34881f9a7180a5e467eaa63435efa890db.tar.bz2
portage-a98eee34881f9a7180a5e467eaa63435efa890db.zip
emerge-delta-webrsync: normalize fetch URI
This will fix bug #124072.
-rwxr-xr-xmisc/emerge-delta-webrsync2
1 files changed, 1 insertions, 1 deletions
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