With a SRC_URI = " \
p4://depot/folder/...;module=localfolder/localsubfolder;changeslist=${P4CHANGELIST} \
"
the subfolders of //depot/folder/... get renamed when mapped to the
local folder structure. They lose the first 3 letters. This
patch fixes that.
Issue reported by and patch sent from katutxakurra@gmail.com
[YOCTO #5380]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
base = path
which = path.find('/...')
if which != -1:
- base = path[:which]
+ base = path[:which-1]
base = self._strip_leading_slashes(base)