merge of '6347af950ec1a0ff98214a570984c55df668fad7'
[vuplus_openembedded] / classes / base.bbclass
index ac73e90..1a7ef4f 100644 (file)
@@ -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: