From: Lucas De Marchi Date: Tue, 9 Jun 2015 05:01:11 +0000 (-0300) Subject: build: silence stderr on coverity rules X-Git-Tag: v21~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=681c623e71e733e25e71e309012cb2d14a9fd1d0;p=thirdparty%2Fkmod.git build: silence stderr on coverity rules We try to execute git in order to get the dependencies for the coverity rules. And it gets executed even when we are not calling that specific rule. Later we may want to improve it, but for now let's just silence the errors of not being a git repository when executing this on a packaged version. --- diff --git a/Makefile.am b/Makefile.am index 56143177..a1b66325 100644 --- a/Makefile.am +++ b/Makefile.am @@ -451,9 +451,9 @@ kmod-coverity-%.tar.xz: cov-build --dir cov-int make -j 4 tar caf $@ cov-int -coverity-tar: kmod-coverity-$(shell git describe).tar.xz +coverity-tar: kmod-coverity-$(shell git describe 2>/dev/null).tar.xz -coverity-sync: kmod-coverity-$(shell git describe).tar.xz +coverity-sync: kmod-coverity-$(shell git describe 2>/dev/null).tar.xz @echo "uploading coverity tarball" @curl --form token=$(COVERITY_KMOD_TOKEN) \ --form email=lucas.de.marchi@gmail.com \