From a315e0b68188066283e4ae67b5f8f781ae3e5947 Mon Sep 17 00:00:00 2001 From: Vincent Demeester Date: Mon, 19 Jun 2017 10:24:31 +0200 Subject: [PATCH] Fix DIRS find command to work on more system Signed-off-by: Vincent Demeester --- pkg/Makefile | 2 +- tools/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)