]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
build: silence stderr on coverity rules
authorLucas De Marchi <lucas.demarchi@intel.com>
Tue, 9 Jun 2015 05:01:11 +0000 (02:01 -0300)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 9 Jun 2015 05:01:11 +0000 (02:01 -0300)
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.

Makefile.am

index 56143177c7c4519c31041d57d930292c71b96767..a1b6632567edd7415ec6c25e06dd5b93d124c1d6 100644 (file)
@@ -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 \