bitbake: fetch/git: Remove a possible trailing '/' in subpath
authorAnders Darander <anders@chargestorm.se>
Fri, 17 Apr 2015 05:49:42 +0000 (07:49 +0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 26 Jul 2015 13:13:57 +0000 (10:13 -0300)
commitafbb178ee3c45ddfc52b1eacb0084c29a77aea5d
tree16da213fbd20f65eaaea14761a271e62edd39106
parent5db938017dc47610f4973cc55513132b58ae7a18
bitbake: fetch/git: Remove a possible trailing '/' in subpath

If the subpath parameter to the git fetcher ends with a trailing '/',
 bb.utils.prunedir() will be called on '/'...

Fixes [YOCTO #7620].

(Bitbake master rev: 380a3fb372c8b0a53dd7528562e6e7a222dc76ef)

(Bitbake rev: faffa1c4a4d8353b21a0d359076153da0dc31a05)

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
bitbake/lib/bb/fetch2/git.py