From 1c18324bf5fca533b7a03cd3dbc8cdf857cda2a8 Mon Sep 17 00:00:00 2001 From: Leon Woestenberg Date: Sun, 30 Mar 2008 14:53:14 +0000 Subject: base.bbclass: Enable 'overwrite' flag for unzip (to match tar behaviour). Broke rebuilds when disabled. --- classes/base.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/base.bbclass b/classes/base.bbclass index c2ce508538..1213ef07fa 100644 --- a/classes/base.bbclass +++ b/classes/base.bbclass @@ -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 -- cgit v1.2.3