summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Mortimer <sam@mortimer.me.uk>2017-01-17 12:30:20 -0800
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-02-14 23:32:53 +0100
commit3461bf40ef9d397d997771c1a160cac05235e3d8 (patch)
treebb498c0ce2ab0c1509d5a205f3520a4ea4bdb716
parent6620ca8e9782dc71db978843626a9fe1858d63e3 (diff)
downloadbuild-3461bf40ef9d397d997771c1a160cac05235e3d8.zip
build-3461bf40ef9d397d997771c1a160cac05235e3d8.tar.gz
build-3461bf40ef9d397d997771c1a160cac05235e3d8.tar.bz2
build sign_target_files_apks.py: clean tmp on exit
Currently, this script creates and leaves nearly 2GB in tmp per run. Clean up on exit. Change-Id: I4247dd2508e9d27de57c611c18e70800d7a47f33
-rwxr-xr-xtools/releasetools/sign_target_files_apks.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/releasetools/sign_target_files_apks.py b/tools/releasetools/sign_target_files_apks.py
index 54460e6..e3bcbbc 100755
--- a/tools/releasetools/sign_target_files_apks.py
+++ b/tools/releasetools/sign_target_files_apks.py
@@ -531,3 +531,5 @@ if __name__ == '__main__':
print(" ERROR: %s" % e)
print()
sys.exit(1)
+ finally:
+ common.Cleanup()