bitbake: fetch2: replace double slashes in paths in encodeurl()
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 7 Sep 2012 13:34:35 +0000 (14:34 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 7 Sep 2012 13:50:04 +0000 (14:50 +0100)
commitcd6e685c3a0df53c569972a103c4e1ebfc4ba2ac
treed7ae19aef18cfa4f5f00d1f93432355e16256f82
parent82096cf435f25d73e18751aecdc07c5267b387ed
bitbake: fetch2: replace double slashes in paths in encodeurl()

This ensures that if all a MIRRORS entry does is add a slash, this does
not result in a circular loop.

Fixes [YOCTO #3073].

(Bitbake rev: 57055d337a2c9997a6e5d5bdabaec396e3e128e9)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/fetch2/__init__.py