From: Alejandro Colomar Date: Mon, 9 May 2022 21:11:37 +0000 (+0200) Subject: Makefile: silence spurious error message X-Git-Tag: man-pages-5.19-rc1~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b1a141dd2ef8acf38cb225be49f034e329ec367;p=thirdparty%2Fman-pages.git Makefile: silence spurious error message The following error is harmless and normal. Ignore it. $ sudo make install fatal: unsafe repository ('/home/alx/src/linux/man-pages/man-pages' is owned by someone else) To add an exception for this directory, call: git config --global --add safe.directory /home/alx/src/linux/man-pages/man-pages Signed-off-by: Alejandro Colomar --- diff --git a/Makefile b/Makefile index fc85107536..312cd11f92 100644 --- a/Makefile +++ b/Makefile @@ -343,7 +343,7 @@ compression := gz xz dist := $(foreach x,$(compression),dist-$(x)) -$(DISTFILE): $(shell git ls-files) | $$(@D)/. +$(DISTFILE): $(shell git ls-files 2>/dev/null) | $$(@D)/. $(info TAR $@) tar cf $@ -T /dev/null git ls-files \