Skip to content

Commit 201307f

Browse files
committed
Fix __pycache__ directory removal in clean target
Replaces the use of 'find -delete' with 'find -exec rm -rf {} +' to ensure all __pycache__ directories are properly removed during the clean process.
1 parent b241568 commit 201307f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ clean-api:
146146
rm -rf build $(NAME)-$(VERSION) *.egg-info
147147
rm -rf .tox
148148
find . -type f -regex ".*\.py[co]$$" -delete
149-
find . -type d -name "__pycache__" -delete
149+
find . -type d -name "__pycache__" -exec rm -rf {} +
150150
rm -f awx/awx_test.sqlite3*
151151
rm -rf requirements/vendor
152152
rm -rf awx/projects

0 commit comments

Comments
 (0)