From 35a63cb1e63d3487cf68f73e963b6f1e58cf45da Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Thu, 12 Feb 2015 08:55:45 -0800 Subject: Don't use xargs -r since it's a GNU extensions. Instead just ignore the result of xargs. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 457dd23..897bcbb 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3