]> 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)
committerSaul Wold <sgw@linux.intel.com>
Wed, 3 Feb 2016 17:48:12 +0000 (09:48 -0800)
commit2ed6adfea5ba16aeda7b5d908bea4303202d3774
treeae1a5284ac1c7c5eb955f20446a70b363cb132cc
parentf070d5fee56a4589a6abf422e6872373c5557c6d
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>
(cherry picked from commit 5eb8f15c48b5f39a10eb2b63b026cf1ebfd05533)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
scripts/gen-lockedsig-cache