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