From ee37bf872e0021d0e20ea023eedbf1a205053a11 Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Sat, 25 Jun 2022 19:33:23 -0700 Subject: Marginally safer 'find' invocation for finding subcomponents. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 91a92e4..149f397 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,7 @@ endif endef -PARTS := $(shell find * -type d -\( -name build -prune -o -name tools -prune -o -print -\)) +PARTS := $(patsubst ./%,%,$(shell find -mindepth 1 -type d -\( -name .\* -prune -o -name build -prune -o -name tools -prune -o -print -\))) PARTARS := PARTSOS := -- cgit v1.2.3