diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-02-12 08:55:45 -0800 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-02-12 08:55:45 -0800 |
commit | 35a63cb1e63d3487cf68f73e963b6f1e58cf45da (patch) | |
tree | 449751540666db63f80f36bcd22c29fec39bd046 | |
parent | 78353022978140e9c8e21d37509e8137989339c6 (diff) |
Don't use xargs -r since it's a GNU extensions.
Instead just ignore the result of xargs.
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |