summaryrefslogtreecommitdiff
path: root/classes/base.bbclass
diff options
context:
space:
mode:
authorLeon Woestenberg <leon.woestenberg@gmail.com>2008-03-30 14:53:14 +0000
committerLeon Woestenberg <leon.woestenberg@gmail.com>2008-03-30 14:53:14 +0000
commit1c18324bf5fca533b7a03cd3dbc8cdf857cda2a8 (patch)
tree04b1c2800bf8bb2dc668de9247b976b27c7dc0eb /classes/base.bbclass
parentf3074ef2d1ee7a22df71d34913d96f1d894bbfc3 (diff)
base.bbclass: Enable 'overwrite' flag for unzip (to match tar behaviour). Broke rebuilds when disabled.
Diffstat (limited to 'classes/base.bbclass')
-rw-r--r--classes/base.bbclass2
1 files changed, 1 insertions, 1 deletions
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