merge of '6347af950ec1a0ff98214a570984c55df668fad7'
authorRobert Schuster <thebohemian@gmx.net>
Tue, 7 Oct 2008 21:05:42 +0000 (21:05 +0000)
committerRobert Schuster <thebohemian@gmx.net>
Tue, 7 Oct 2008 21:05:42 +0000 (21:05 +0000)
     and 'aa5ca25b387398015df6ff4983a31df9f74a3dff'

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: