diff --git a/pkg/Makefile b/pkg/Makefile index 81ed81bce..47480140b 100644 --- a/pkg/Makefile +++ b/pkg/Makefile @@ -1,4 +1,4 @@ -DIRS = $(shell find . -type d -depth 1) +DIRS = $(shell find . -maxdepth 1 -mindepth 1 -type d) .PHONY: clean dirs $(DIRS) push: diff --git a/tools/Makefile b/tools/Makefile index 20c61fb08..94894d076 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -1,4 +1,4 @@ -DIRS = $(shell find . -type d -depth 1) +DIRS = $(shell find . -maxdepth 1 -mindepth 1 -type d) .PHONY: clean dirs $(DIRS) push: $(DIRS)