1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Remove GNU extension from xargs invocation

Fixes #12845
This commit is contained in:
Toshio Kuratomi 2015-10-26 07:16:21 -07:00
parent 92dd563a75
commit 8dfefa2233

View file

@ -139,7 +139,7 @@ clean:
@echo "Cleaning up byte compiled python stuff" @echo "Cleaning up byte compiled python stuff"
find . -type f -regex ".*\.py[co]$$" -delete find . -type f -regex ".*\.py[co]$$" -delete
@echo "Cleaning up editor backup files" @echo "Cleaning up editor backup files"
find . -type f \( -name "*~" -or -name "#*" \) |grep -v test/units/inventory_test_data/group_vars/noparse/all.yml~ |xargs -n 1024 -r rm find . -type f -not -path ./test/units/inventory_test_data/group_vars/noparse/all.yml~ \( -name "*~" -or -name "#*" \) -delete
find . -type f \( -name "*.swp" \) -delete find . -type f \( -name "*.swp" \) -delete
@echo "Cleaning up manpage stuff" @echo "Cleaning up manpage stuff"
find ./docs/man -type f -name "*.xml" -delete find ./docs/man -type f -name "*.xml" -delete