diff --git a/tools/lint/fix/lint_fix.py b/tools/lint/fix/lint_fix.py index 3ff8131489ff1..0f94bd2b9b2c6 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}", ]