Browse code

Remove GNU extension from xargs invocation

Fixes #12845

Toshio Kuratomi authored on 2015/10/26 23:16:21
Showing 1 changed files
... ...
@@ -139,7 +139,7 @@ clean:
139 139
 	@echo "Cleaning up byte compiled python stuff"
140 140
 	find . -type f -regex ".*\.py[co]$$" -delete
141 141
 	@echo "Cleaning up editor backup files"
142
-	find . -type f  \( -name "*~" -or -name "#*" \) |grep -v test/units/inventory_test_data/group_vars/noparse/all.yml~ |xargs -n 1024 -r rm
142
+	find . -type f -not -path ./test/units/inventory_test_data/group_vars/noparse/all.yml~ \( -name "*~" -or -name "#*" \) -delete
143 143
 	find . -type f \( -name "*.swp" \) -delete
144 144
 	@echo "Cleaning up manpage stuff"
145 145
 	find ./docs/man -type f -name "*.xml" -delete