From 36092d6b1bd6fc1e99d2338bd58a6e65e1ca24d8 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Mon, 17 Nov 2025 12:34:14 +0100 Subject: [PATCH] projects-dir.mk: Make list-files ignore errors Make list-files target ignore errors. This catches errors from git ls-files | xargs realpath if git ls-files lists dead symbolic links, as in my-project/blah/dev/fd -> ./proc/self/fd. Implemented by passing -q (quiet) to realpath, not sure what else this suppresses. Signed-off-by: Jan Lindemann --- make/projects-dir.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/projects-dir.mk b/make/projects-dir.mk index 20f9f648..d7c064f5 100644 --- a/make/projects-dir.mk +++ b/make/projects-dir.mk @@ -204,7 +204,7 @@ list-files: @realpath PROJECTS_MAKEFILE_NAME @for p in $(BUILD_PROJECTS); do \ $(LIST_VCS_FILES_SH) -znf $$p | sed -z "s/^/$$p\//" | \ - xargs -0 realpath ;\ + xargs -0 realpath -q ;\ done $(TEXT_FILES_CACHE): @make -s text-files-update