We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d89548d commit 9642f4fCopy full SHA for 9642f4f
common.mk
@@ -92,7 +92,7 @@ include $(base_dir)/tools/torture.mk
92
# Returns a list of files in directories $1 with single file extension $2.
93
# If available, use 'fd' to find the list of files, which is faster than 'find'.
94
ifeq ($(shell which fd 2> /dev/null),)
95
- lookup_srcs = $(shell find -L $(1)/ -name target -prune -o \( -iname "*.$(2)" ! -iname ".*" \) -print 2> /dev/null)
+ lookup_srcs = $(shell find -L $(1)/ -name target -prune -o \( ! -xtype l -a -iname "*.$(2)" ! -iname ".*" \) -print 2> /dev/null)
96
else
97
lookup_srcs = $(shell fd -L -t f -e $(2) . $(1))
98
endif
0 commit comments