summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeon Woestenberg <leon.woestenberg@gmail.com>2008-03-01 12:07:07 +0000
committerLeon Woestenberg <leon.woestenberg@gmail.com>2008-03-01 12:07:07 +0000
commit5c76b08ead147c85ee0efb790a5cd87a223d9dd3 (patch)
tree5fe2bf1c9f1aac83ca81f5353c3c55494b777794
parent5001a8e2e32fb491f8c0fb2acb0c085636c4ee32 (diff)
base.bbclass: Add .tbz2 besides .tbz and .tar.bz2
-rw-r--r--classes/base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index 089cd5acd3..7609c05851 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -544,7 +544,7 @@ def oe_unpack_file(file, data, url = None):
cmd = 'tar x --no-same-owner -f %s' % file
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'):
+ elif file.endswith('.tbz') or file.endswith('.tbz2') or file.endswith('.tar.bz2'):
cmd = 'bzip2 -dc %s | tar x --no-same-owner -f -' % file
elif file.endswith('.gz') or file.endswith('.Z') or file.endswith('.z'):
cmd = 'gzip -dc %s > %s' % (file, efile)