status: stricter regex
This commit is contained in:
parent
f9171b65c5
commit
b7541f2e32
|
@ -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
|
||||||
|
|
Reference in New Issue