use brace expansion for server lists

This commit is contained in:
Daniel Micay 2021-12-11 08:59:11 -05:00
parent 71a42cff7d
commit c2f41bf3a9
2 changed files with 2 additions and 5 deletions

View File

@ -3,8 +3,7 @@
set -o errexit -o nounset -o pipefail
replicas=(
1.grapheneos.org
2.grapheneos.org
{1,2}.grapheneos.org
)
for replica in ${replicas[@]}; do

View File

@ -5,9 +5,7 @@ set -o errexit -o nounset -o pipefail
./process-static
servers=(
0.grapheneos.org
1.grapheneos.org
2.grapheneos.org
{0,1,2}.grapheneos.org
)
for server in ${servers[@]}; do