diff --git a/web-build/snowflake-odbc/download-package b/web-build/snowflake-odbc/download-package index 10df6c5..774487b 100755 --- a/web-build/snowflake-odbc/download-package +++ b/web-build/snowflake-odbc/download-package @@ -1,7 +1,9 @@ #!/usr/bin/env bash #ddev-generated -set -e +set -o errtrace +set -o errexit +set -o pipefail if [ "$GOARCH" = "amd64" ]; then ARCH="x86_64"; diff --git a/web-build/snowflake-odbc/modify-dockerfile b/web-build/snowflake-odbc/modify-dockerfile index 41c0ea4..befe947 100755 --- a/web-build/snowflake-odbc/modify-dockerfile +++ b/web-build/snowflake-odbc/modify-dockerfile @@ -1,7 +1,9 @@ #!/usr/bin/env bash #ddev-generated -set -e +set -o errtrace +set -o errexit +set -o pipefail PACKAGE_PATH="./snowflake-odbc" TMP_PATH="/tmp" @@ -53,6 +55,8 @@ remove_directives() { echo "$LINE" >> "$TMP_FILE" fi done < "$FILE_PATH" + + cat "$TMP_FILE" > "$FILE_PATH" } FILE_PATH="./web-build/Dockerfile"