status: stricter regex

This commit is contained in:
pedro 2024-02-29 18:20:57 +01:00
parent f9171b65c5
commit b7541f2e32

View file

@ -32,7 +32,7 @@ main() {
for i in ${instances}; do for i in ${instances}; do
dirs="$(find . -maxdepth 1 -type d \ dirs="$(find . -maxdepth 1 -type d \
| grep -E 'pilot|instance' \ | grep -E 'pilot|instance' \
| grep "${i}" | grep "${i}$"
)" )"
echo "- ${i}" echo "- ${i}"
for d in ${dirs}; do for d in ${dirs}; do