]> code.ossystems Code Review - openembedded-core.git/commit
gen-lockedsig-cache: fix bad destination path joining
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 26 Jan 2016 00:20:24 +0000 (13:20 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 26 Jan 2016 22:31:10 +0000 (22:31 +0000)
commit5eb8f15c48b5f39a10eb2b63b026cf1ebfd05533
treeb6b1b54071758bb87fa1910da2338ef714a41e92
parent50f0a2a041df679f06c0b93a0472905e8c129bd4
gen-lockedsig-cache: fix bad destination path joining

When copying the sstate-cache into the extensible SDK, if the source
path had a trailing / and the destination path did not, there would be a
missing / between the path and the subdirectory name, and you'd end up
with subdirectories like "sstate-cacheCentOS-6.7". There are functions
in os.path for this sort of thing so let's just use them and avoid the
problem.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/gen-lockedsig-cache