diff options
author | Robert Schuster <thebohemian@gmx.net> | 2008-10-07 21:05:11 +0000 |
---|---|---|
committer | Robert Schuster <thebohemian@gmx.net> | 2008-10-07 21:05:11 +0000 |
commit | 29889872a04b60606878c216ad3fa5dbbf3023ec (patch) | |
tree | bce4aa27d843cafe79e273cf601671cec0f2625a /classes | |
parent | c43cac1ec65bab71076def681418384a512497a6 (diff) |
base.bbclass: Use 'unzip' for *.jar files as well.
Diffstat (limited to 'classes')
-rw-r--r-- | classes/base.bbclass | 2 |
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: |