From 5f579ad731721d550a970aaaf7bbb2030580bc41 Mon Sep 17 00:00:00 2001 From: Denbeigh Stevens Date: Thu, 28 Jul 2022 10:29:24 -0700 Subject: [PATCH] bug: remove -o from pipefail options This isn't well-supported by every POSIX shell anyways. --- examples/templates/gcp-linux/main.tf | 2 +- provisionersdk/scripts/bootstrap_darwin.sh | 2 +- provisionersdk/scripts/bootstrap_linux.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/templates/gcp-linux/main.tf b/examples/templates/gcp-linux/main.tf index da823e0036185..f686a1a136b76 100644 --- a/examples/templates/gcp-linux/main.tf +++ b/examples/templates/gcp-linux/main.tf @@ -75,7 +75,7 @@ resource "google_compute_instance" "dev" { # it. metadata_startup_script = < /root/coder_agent.sh diff --git a/provisionersdk/scripts/bootstrap_darwin.sh b/provisionersdk/scripts/bootstrap_darwin.sh index df867f55877a7..70158594de7d6 100644 --- a/provisionersdk/scripts/bootstrap_darwin.sh +++ b/provisionersdk/scripts/bootstrap_darwin.sh @@ -1,5 +1,5 @@ #!/usr/bin/env sh -set -eux pipefail +set -eux # Sleep for a good long while before exiting. # This is to allow folks to exec into a failed workspace and poke around to # troubleshoot. diff --git a/provisionersdk/scripts/bootstrap_linux.sh b/provisionersdk/scripts/bootstrap_linux.sh index 536724d836b2f..ba4ecb11b8032 100644 --- a/provisionersdk/scripts/bootstrap_linux.sh +++ b/provisionersdk/scripts/bootstrap_linux.sh @@ -1,5 +1,5 @@ #!/usr/bin/env sh -set -eux pipefail +set -eux # Sleep for a good long while before exiting. # This is to allow folks to exec into a failed workspace and poke around to # troubleshoot.