Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete tmp file and .bak file for android lint runs #980

Merged
merged 1 commit into from
Oct 13, 2023

Conversation

tyvsmith
Copy link
Member

Android Lint has always had a leftover tmp.bak file after it's run which add up over time. After moving this to buck-out's $TMP, this was obvious.

cmd += "rm $CP_FILE; "

#Delete tmp file and tmp.bak file
cmd += "rm $CP_FILE*; "
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is needed because sed -i.bak is used above, and I left that alone for the sake of historical decisions on backing it up. I assume it was used to be preserved in the case of debugging failures.

@kageiit kageiit merged commit 5b7497d into master Oct 13, 2023
4 checks passed
@kageiit kageiit deleted the ty/fix-bak-file-deletion branch October 13, 2023 01:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants