base.bbclass: Add unpack handling for .jar files (from OE)
This commit is contained in:
parent
6552990921
commit
1d89595e2b
|
@ -644,8 +644,8 @@ 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'):
|
||||
cmd = 'unzip -q'
|
||||
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:
|
||||
cmd = '%s -a' % cmd
|
||||
|
|
Loading…
Reference in New Issue