Skip to content

Commit 835636a

Browse files
invisiblekSteve Kondik
authored andcommitted
releasetools: fix cleaning up /tmp/
* previous commit did exactly nothing... Change-Id: I66876aff83528596d628d24e60b5d4c0d81577bd
1 parent 96ecbc0 commit 835636a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/releasetools/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ def UnzipTemp(filename, pattern=None):
434434
OPTIONS.tempfiles.append(tmp)
435435

436436
def unzip_to_dir(filename, dirname):
437-
cmd = ["rm", "-rf", dirname + filename, "targetfiles-*"]
437+
subprocess.call(["rm", "-rf", dirname + filename, "targetfiles-*"])
438438
cmd = ["unzip", "-o", "-q", filename, "-d", dirname]
439439
if pattern is not None:
440440
cmd.append(pattern)

0 commit comments

Comments
 (0)