git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f1de01
)
base.bbclass: handle tar.Z archives - close #1433
author
Tom Walsh
<tom@openhardware.net>
Tue, 26 Sep 2006 09:02:59 +0000
(09:02 +0000)
committer
Marcin Juszkiewicz
<hrw@openembedded.org>
Tue, 26 Sep 2006 09:02:59 +0000
(09:02 +0000)
classes/base.bbclass
patch
|
blob
|
history
diff --git
a/classes/base.bbclass
b/classes/base.bbclass
index
36caea2
..
0c62568
100644
(file)
--- a/
classes/base.bbclass
+++ b/
classes/base.bbclass
@@
-394,7
+394,7
@@
def oe_unpack_file(file, data, url = None):
cmd = None
if file.endswith('.tar'):
cmd = 'tar x --no-same-owner -f %s' % file
- elif file.endswith('.tgz') or file.endswith('.tar.gz'):
+ elif file.endswith('.tgz') or file.endswith('.tar.gz')
or file.endswith('.tar.Z')
:
cmd = 'tar xz --no-same-owner -f %s' % file
elif file.endswith('.tbz') or file.endswith('.tar.bz2'):
cmd = 'bzip2 -dc %s | tar x --no-same-owner -f -' % file