From 6bc7ff1b6175f49174e8b560e460fe93c7d16a64 Mon Sep 17 00:00:00 2001 From: Julien Oculi Date: Wed, 29 May 2024 15:05:39 +0200 Subject: [PATCH] fix: iterate only over dir in `install.sh` and `deploy.sh` --- deploy.sh | 2 +- install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy.sh b/deploy.sh index e23a78c..5fc7941 100644 --- a/deploy.sh +++ b/deploy.sh @@ -1,7 +1,7 @@ APPS=$@ if [[ $1 == "*" && $# -eq 1 ]]; then - APPS=$(ls .) + APPS=$(ls -d */) fi for app in "$APPS" diff --git a/install.sh b/install.sh index d1e8756..afeebcb 100644 --- a/install.sh +++ b/install.sh @@ -1,7 +1,7 @@ APPS=$@ if [[ $1 == "*" && $# -eq 1 ]]; then - APPS=$(ls .) + APPS=$(ls -d */) fi for app in "$APPS"