summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index 540b891669..c76154901e 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -636,7 +636,7 @@ def oe_unpack_file(file, data, url = None):
cmd = 'gzip -dc %s > %s' % (file, efile)
elif file.endswith('.bz2'):
cmd = 'bzip2 -dc %s > %s' % (file, efile)
- elif file.endswith('.zip'):
+ elif file.endswith('.zip') or file.endswith('.jar'):
cmd = 'unzip -q -o'
(type, host, path, user, pswd, parm) = bb.decodeurl(url)
if 'dos' in parm: