summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/base.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 404c319d04..8e6284c532 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -644,8 +644,8 @@ def oe_unpack_file(file, data, url = None):
644 cmd = 'gzip -dc %s > %s' % (file, efile) 644 cmd = 'gzip -dc %s > %s' % (file, efile)
645 elif file.endswith('.bz2'): 645 elif file.endswith('.bz2'):
646 cmd = 'bzip2 -dc %s > %s' % (file, efile) 646 cmd = 'bzip2 -dc %s > %s' % (file, efile)
647 elif file.endswith('.zip'): 647 elif file.endswith('.zip') or file.endswith('.jar'):
648 cmd = 'unzip -q' 648 cmd = 'unzip -q -o'
649 (type, host, path, user, pswd, parm) = bb.decodeurl(url) 649 (type, host, path, user, pswd, parm) = bb.decodeurl(url)
650 if 'dos' in parm: 650 if 'dos' in parm:
651 cmd = '%s -a' % cmd 651 cmd = '%s -a' % cmd