summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshio Kuratomi <toshio@fedoraproject.org>2015-10-26 15:16:21 +0100
committerToshio Kuratomi <toshio@fedoraproject.org>2015-10-26 15:16:21 +0100
commit8dfefa2233a763fc72473419c58d873ececdf533 (patch)
treeaa2ec81b23f6ab948f9532f75a96fb96dac9d0ab
parentFix invocation from bad merge and note where it would need to go to keep (diff)
downloadansible-8dfefa2233a763fc72473419c58d873ececdf533.tar.xz
ansible-8dfefa2233a763fc72473419c58d873ececdf533.zip
Remove GNU extension from xargs invocation
Fixes #12845
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e94131d834..8ec81c150e 100644
--- a/Makefile
+++ b/Makefile
@@ -139,7 +139,7 @@ clean:
@echo "Cleaning up byte compiled python stuff"
find . -type f -regex ".*\.py[co]$$" -delete
@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
@echo "Cleaning up manpage stuff"
find ./docs/man -type f -name "*.xml" -delete