We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The sequence:
find $(POCO_BUILD) -name obj -type d -print0 | xargs -0 rm -rf find $(POCO_BUILD) -name .dep -type d -print0 | xargs -0 rm -rf find $(POCO_BUILD) -name bin -type d -print0 | xargs -0 rm -rf
can be refactored as:
find $(POCO_BUILD) \( -name obj -o -name .dep -o -name bin \) -type d -print0 | xargs -0 rm -rf
and do the same in a single traversal.
The text was updated successfully, but these errors were encountered:
Should also point out that POSIX 'find' supports parens as standard:
http://pubs.opengroup.org/onlinepubs/009695399/utilities/find.html
Sorry, something went wrong.
will be in 1.6.0
GH #36: 'distclean' requires 3 traversals of project tree
574be1a
added to develop for 1.5.1:
Merge pull request #36 from pocoproject/develop
42b89e0
Sync 3.1.2017
aleks-f
No branches or pull requests
The sequence:
can be refactored as:
and do the same in a single traversal.
The text was updated successfully, but these errors were encountered: