Skip to content

Commit 472c4cb

Browse files
authored
Merge pull request #1246 from ucb-bar/fdfix
2 parents 3821cb1 + 2f26c29 commit 472c4cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ include $(base_dir)/tools/torture.mk
6868
ifeq ($(shell which fd 2> /dev/null),)
6969
lookup_srcs = $(shell find -L $(1)/ -name target -prune -o \( -iname "*.$(2)" ! -iname ".*" \) -print 2> /dev/null)
7070
else
71-
lookup_srcs = $(shell fd -L ".*\.$(2)" $(1))
71+
lookup_srcs = $(shell fd -L -t f -e $(2) . $(1))
7272
endif
7373

7474
SOURCE_DIRS = $(addprefix $(base_dir)/,generators sims/firesim/sim tools/barstools fpga/fpga-shells fpga/src)

0 commit comments

Comments
 (0)