From 2bf5b8fef48e8c70480c099cc614d3393637d04d Mon Sep 17 00:00:00 2001 From: Quentin Manfroi Date: Thu, 18 Apr 2019 12:57:15 +0200 Subject: [PATCH] MON-437 add missing scope to readme script --- scripts/02_update_readme.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/02_update_readme.sh b/scripts/02_update_readme.sh index 7918e9f..8269327 100755 --- a/scripts/02_update_readme.sh +++ b/scripts/02_update_readme.sh @@ -10,7 +10,7 @@ sed -i '/### Monitors summary ###/q' README.md # add a newline after listing section echo >> README.md # loop over all ready monitors sets on the repo -for path in $(find -mindepth 1 \( -path './incubator' -o -path './scripts' -o -path './testing' -o -path '*/\.*' \) -prune -o -type d -print | sort -fdbi); do +for path in $(find "$(get_scope $1)" -mindepth 1 \( -path './incubator' -o -path './scripts' -o -path './testing' -o -path '*/\.*' \) -prune -o -type d -print | sort -fdbi); do # split path in directories directories=($(list_dirs $path)) # loop over directories in path