]> code.ossystems Code Review - openembedded-core.git/commit
recipetool: avoid second-level subdir when extracting
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 28 Apr 2015 11:22:36 +0000 (12:22 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 May 2015 16:08:10 +0000 (17:08 +0100)
commit0eeecce96a0aa757c2c4c4ac4d82e3bcbf0f982c
tree062275366583bf4557b6b84c6d1f968f26f9b523
parent09c3d648c95fe88197c15d656bda1c9303aa2079
recipetool: avoid second-level subdir when extracting

When -x was specified, we were getting the normal unpack subdirectory
which we don't really want - if there's only one subdirectory unpacked
then we should effectively copy just it to the extraction path, not as a
subdirectory under it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
scripts/lib/recipetool/create.py