mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
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 <jan@janware.com>
This commit is contained in:
parent
3f8c1ad573
commit
36092d6b1b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue