diff options
author | Aníbal Limón <limon.anibal@gmail.com> | 2016-03-24 12:08:19 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-26 08:16:02 +0000 |
commit | c760531c6dbf88135ab9f8e6f0784ccbf2cce1e4 (patch) | |
tree | dfe0db342529f1a522fb4d831593d16f57ab32a0 /lib/bb/cookerdata.py | |
parent | e8ea15eeb1857ed4bb6337836bd2fb1f5dbb1bdf (diff) | |
download | openembedded-core-contrib-c760531c6dbf88135ab9f8e6f0784ccbf2cce1e4.tar.gz |
fetch2/wget.py: _check_latest_version_by_dir fix prefix detection
When prefix is part of the version directory it need to ensure that
only version directory is used so remove previous directories if exists.
Example: pfx = '/dir1/dir2/v' and version = '2.5' the expected result
is 'v2.5' instead of '/dir1/dir2/v2.5'.
[YOCTO #8778]
Signed-off-by: Aníbal Limón <limon.anibal@gmail.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/cookerdata.py')
0 files changed, 0 insertions, 0 deletions