base.bbclass: Enable 'overwrite' flag for unzip (to match tar behaviour). Broke rebui...
authorLeon Woestenberg <leon.woestenberg@gmail.com>
Sun, 30 Mar 2008 14:53:14 +0000 (14:53 +0000)
committerLeon Woestenberg <leon.woestenberg@gmail.com>
Sun, 30 Mar 2008 14:53:14 +0000 (14:53 +0000)
classes/base.bbclass

index c2ce508..1213ef0 100644 (file)
@@ -571,7 +571,7 @@ def oe_unpack_file(file, data, url = None):
        elif file.endswith('.bz2'):
                cmd = 'bzip2 -dc %s > %s' % (file, efile)
        elif file.endswith('.zip'):
-               cmd = 'unzip -q'
+               cmd = 'unzip -q -o'
                (type, host, path, user, pswd, parm) = bb.decodeurl(url)
                if 'dos' in parm:
                        cmd = '%s -a' % cmd