summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author mattgilbride <mattgilbride@google.com> 2022-10-12 20:27:50 +0000
committer mattgilbride <mattgilbride@google.com> 2022-10-12 20:27:50 +0000
commite6e251e1a933edb18abc8092caea07c378ceaf3d (patch)
treebbdb26aaffb5ead5493f1798af8fb82fc7061a22
parentd43602bbdd098862d6f088b9e0b38b6feecc70a8 (diff)
Update lint_fix to remove stale suggested-fixes.zip
Bug: N/A Test: manually, TH Change-Id: I2ed746a3a9a23f61fdb7a4b05bcc68ed7f7109c4
-rw-r--r--tools/lint/fix/lint_fix.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lint/fix/lint_fix.py b/tools/lint/fix/lint_fix.py
index 3ff8131489ff..0f94bd2b9b2c 100644
--- a/tools/lint/fix/lint_fix.py
+++ b/tools/lint/fix/lint_fix.py
@@ -50,6 +50,7 @@ commands += [
"cd $ANDROID_BUILD_TOP",
"source build/envsetup.sh",
f"rm {target}", # remove the file first so soong doesn't think there is no work to do
+ f"rm {path}/{FIX_DIR}.zip", # remove in case there are fixes from a prior run that we don't want applied if this run fails
f"m {target}",
]