Revert "releasetools: Use pattern filter when unzipping."
This reverts commit aa3a04f19d
.
Reason for revert: Some AOSP targets don't include RADIO/ in the TF.zip. We may possibly skip unzipping RADIO/, or by always creating a dummy RADIO folder in TF.zip. Revert this CL for now.
Change-Id: I8e90d322706a4fe82129bdfab5ffa1eab989c648
This commit is contained in:
@@ -564,7 +564,7 @@ def UnzipTemp(filename, pattern=None):
|
||||
def unzip_to_dir(filename, dirname):
|
||||
cmd = ["unzip", "-o", "-q", filename, "-d", dirname]
|
||||
if pattern is not None:
|
||||
cmd.extend(pattern)
|
||||
cmd.append(pattern)
|
||||
p = Run(cmd, stdout=subprocess.PIPE)
|
||||
p.communicate()
|
||||
if p.returncode != 0:
|
||||
|
Reference in New Issue
Block a user