diff options
author | Dan Pasanen <dan.pasanen@gmail.com> | 2015-02-07 18:59:36 -0600 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-10-06 18:15:28 -0700 |
commit | 3d4039a101a6b7dc06f25048c354a1f37e1b2ccb (patch) | |
tree | 781aeebdc2fc8127140bfd2b0d7632d70d07af4e /tools/releasetools/common.py | |
parent | dc077549ec19516662fa6ab68b7aada113ba04ee (diff) | |
download | build-3d4039a101a6b7dc06f25048c354a1f37e1b2ccb.zip build-3d4039a101a6b7dc06f25048c354a1f37e1b2ccb.tar.gz build-3d4039a101a6b7dc06f25048c354a1f37e1b2ccb.tar.bz2 |
releasetools: fix cleaning up /tmp/
* previous commit did exactly nothing...
Change-Id: I66876aff83528596d628d24e60b5d4c0d81577bd
Diffstat (limited to 'tools/releasetools/common.py')
-rw-r--r-- | tools/releasetools/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/releasetools/common.py b/tools/releasetools/common.py index b61de74..dc4c75b 100644 --- a/tools/releasetools/common.py +++ b/tools/releasetools/common.py @@ -483,7 +483,7 @@ def UnzipTemp(filename, pattern=None): OPTIONS.tempfiles.append(tmp) def unzip_to_dir(filename, dirname): - cmd = ["rm", "-rf", dirname + filename, "targetfiles-*"] + subprocess.call(["rm", "-rf", dirname + filename, "targetfiles-*"]) cmd = ["unzip", "-o", "-q", filename, "-d", dirname] if pattern is not None: cmd.append(pattern) |