mirror of
https://github.com/ansible/awx.git
synced 2026-01-08 14:32:07 -03:30
Fix __pycache__ directory removal in clean target (#16196)
Replaces the use of 'find -delete' with 'find -exec rm -rf {} +' to ensure all __pycache__ directories are properly removed during the clean process.
This commit is contained in:
parent
04fadab253
commit
2fbfe4ca73
2
Makefile
2
Makefile
@ -146,7 +146,7 @@ clean-api:
|
|||||||
rm -rf build $(NAME)-$(VERSION) *.egg-info
|
rm -rf build $(NAME)-$(VERSION) *.egg-info
|
||||||
rm -rf .tox
|
rm -rf .tox
|
||||||
find . -type f -regex ".*\.py[co]$$" -delete
|
find . -type f -regex ".*\.py[co]$$" -delete
|
||||||
find . -type d -name "__pycache__" -delete
|
find . -type d -name "__pycache__" -exec rm -rf {} +
|
||||||
rm -f awx/awx_test.sqlite3*
|
rm -f awx/awx_test.sqlite3*
|
||||||
rm -rf requirements/vendor
|
rm -rf requirements/vendor
|
||||||
rm -rf awx/projects
|
rm -rf awx/projects
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user