]> git.openpandora.org Git - openembedded.git/commitdiff
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 c2ce5085388353c3b0d8720b160262b51fc34c68..1213ef07faf82b26b5107b2ea01bf6881c11cee1 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