Skip to content
Snippets Groups Projects
Commit 14c7af09 authored by Ole Langbehn's avatar Ole Langbehn
Browse files

NOISSUE fix posix compatibility of destroy-env.sh script

parent 701a68ba
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env bash #!/usr/bin/env sh
# exit when any command fails # exit when any command fails
set -ex set -ex
...@@ -12,7 +12,7 @@ export TF_LOG=DEBUG ...@@ -12,7 +12,7 @@ export TF_LOG=DEBUG
# * GCP stuff not allowing our resources to be deleted. # * GCP stuff not allowing our resources to be deleted.
# Most of the time, retrying a destroy fixes these causes. # Most of the time, retrying a destroy fixes these causes.
retry() { retry() {
for i in {1..3}; do for i in $(seq 1 3); do
set +e set +e
"$@" "$@"
retval=$? retval=$?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment