Skip to content

Commit

Permalink
Fix syntax of find -delete
Browse files Browse the repository at this point in the history
With -delete, the matches must be grouped. Otherwise -delete is only
executed for the last matcher.

https://github.com/python-ldap/python-ldap/pull/27
Signed-off-by: Christian Heimes <cheimes@redhat.com>
  • Loading branch information
Christian Heimes authored and Petr Viktorin committed Nov 27, 2017
1 parent d2b7faf commit 875ef44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ all:
clean:
rm -rf build dist *.egg-info $(VENV) .tox MANIFEST
rm -f .coverage .coverage.*
find . -name '*.py[co]' -or -name '*.so*' -or -name '*.dylib' -delete
find . \( -name '*.py[co]' -or -name '*.so*' -or -name '*.dylib' \) \
-delete
find . -depth -name __pycache__ -exec rm -rf {} \;

# LCOV report (measuring test coverage for C code)
Expand Down

0 comments on commit 875ef44

Please sign in to comment.