Don't use xargs -r since it's a GNU extensions.

Instead just ignore the result of xargs.
This commit is contained in:
Arseny Kapoulkine
2015-02-12 08:55:45 -08:00
parent 7835302297
commit 35a63cb1e6

View File

@@ -30,7 +30,7 @@ all: $(EXECUTABLE)
ifeq ($(config),coverage)
test: $(EXECUTABLE)
@find $(BUILD) -name '*.gcda' | xargs -r rm
-@find $(BUILD) -name '*.gcda' | xargs rm
./$(EXECUTABLE)
@gcov -b -c $(BUILD)/src/pugixml.cpp.gcda | sed -e '/./{H;$!d;}' -e 'x;/pugixml.cpp/!d;'
@ls *.gcov | grep -v pugixml.cpp.gcov | xargs rm