From 7fbf0b0fa92c03885c99681188346f6aeb54bea7 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 22 Apr 2022 10:22:13 +0200 Subject: [PATCH] Update daily_README.yaml --- .github/workflows/daily_README.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/daily_README.yaml b/.github/workflows/daily_README.yaml index 873e7a239..1a7729187 100644 --- a/.github/workflows/daily_README.yaml +++ b/.github/workflows/daily_README.yaml @@ -24,7 +24,7 @@ jobs: sed -i "/**ADDONS_LIST%%/d" README2.md # Sort folders by addon name - for f in "$( find -- * -type d | sort -r )"; do + for f in $( find -- * -maxdepth 0 -type d | sort -r ); do if [ -f "$f"/config.json ]; then NAME=$(jq -r '.name' "$f"/config.json) if [[ "$f" != "$NAME" ]]; then @@ -35,7 +35,7 @@ jobs: done # Populate template - for f in "$( find -- * -type d | sort -r )"; do + for f in $( find -- * -maxdepth 0 -type d | sort -r ); do # $f is an addon directory if [ -f "$f/config.json" ]; then echo "Project $f"