lib/oe/unpack.py: fix uncompressing .gz .bz2 or .xz
authorEric Bénard <eric@eukrea.com>
Mon, 6 Sep 2010 17:23:56 +0000 (19:23 +0200)
committerEric Bénard <eric@eukrea.com>
Mon, 6 Sep 2010 21:11:26 +0000 (23:11 +0200)
commit27c47106edd05d478d09a5d190e7dade5ed21926
treeb8b0cd5fcf5194a97460061de250b229cbaba236
parent1e3df2fdc29d07c43fc4cbcc5f1870b659c9fdec
lib/oe/unpack.py: fix uncompressing .gz .bz2 or .xz

* Actually, the uncompressed file is written into the source
path instead of the destination path.
* By also removing the source path, this patch should fix this problem.
* An other fix could be to not uncompress to stdout but let gunzip|bunzip2|
xz uncompress directly to the file.

Signed-off-by: Eric Bénard <eric@eukrea.com>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Acked-by: Chris Larson <chris_larson@mentor.com>
lib/oe/unpack.py