From 9eb9108a6002df2dd32394a078b864d960ec7600 Mon Sep 17 00:00:00 2001 From: pedro Date: Tue, 20 Feb 2024 10:59:56 +0100 Subject: [PATCH] status: cleanup and global exec --- status.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/status.sh b/status.sh index a82bfd3..87c271c 100755 --- a/status.sh +++ b/status.sh @@ -7,10 +7,7 @@ set -u main() { - #instances="$(ls -1 build__* \ - # | grep -E 'instance|pilot' \ - # | cut -d'_' - # )" + cd "$(dirname "${0}")" instances="$(find . -maxdepth 1 -type d \ | grep -E 'pilot|instance' \ | cut -d'_' -f3