diff --git a/.evergreen/ensure-binary.sh b/.evergreen/ensure-binary.sh index 6f28ef6b..0d1da7c4 100755 --- a/.evergreen/ensure-binary.sh +++ b/.evergreen/ensure-binary.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # Ensure the given binary is on the PATH. # Should be called as: diff --git a/.evergreen/handle-paths.sh b/.evergreen/handle-paths.sh index 599f9ed8..57256a59 100755 --- a/.evergreen/handle-paths.sh +++ b/.evergreen/handle-paths.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # # This script will handle the correct cross-platform absolute # paths for a script directory and DRIVERS_TOOLS. diff --git a/.evergreen/ocsp/ecdsa/mock-delegate-revoked.sh b/.evergreen/ocsp/ecdsa/mock-delegate-revoked.sh index 1e40fba5..9aa08683 100755 --- a/.evergreen/ocsp/ecdsa/mock-delegate-revoked.sh +++ b/.evergreen/ocsp/ecdsa/mock-delegate-revoked.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash python3 ../ocsp_mock.py \ --ca_file ca.pem \ --ocsp_responder_cert ocsp-responder.crt \ diff --git a/.evergreen/ocsp/ecdsa/mock-delegate-valid.sh b/.evergreen/ocsp/ecdsa/mock-delegate-valid.sh index 5074a7ec..b66ab99b 100755 --- a/.evergreen/ocsp/ecdsa/mock-delegate-valid.sh +++ b/.evergreen/ocsp/ecdsa/mock-delegate-valid.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash python3 ../ocsp_mock.py \ --ca_file ca.pem \ --ocsp_responder_cert ocsp-responder.crt \ diff --git a/.evergreen/ocsp/ecdsa/mock-revoked.sh b/.evergreen/ocsp/ecdsa/mock-revoked.sh index 684aacf1..2792ef17 100755 --- a/.evergreen/ocsp/ecdsa/mock-revoked.sh +++ b/.evergreen/ocsp/ecdsa/mock-revoked.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash # Use the CA as the OCSP responder python3 ../ocsp_mock.py \ --ca_file ca.pem \ diff --git a/.evergreen/ocsp/ecdsa/mock-valid.sh b/.evergreen/ocsp/ecdsa/mock-valid.sh index c89ce9e9..18fcce41 100755 --- a/.evergreen/ocsp/ecdsa/mock-valid.sh +++ b/.evergreen/ocsp/ecdsa/mock-valid.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash python3 ../ocsp_mock.py \ --ca_file ca.pem \ --ocsp_responder_cert ca.crt \ diff --git a/.evergreen/ocsp/rsa/mock-delegate-revoked.sh b/.evergreen/ocsp/rsa/mock-delegate-revoked.sh index adf026ce..179d3447 100755 --- a/.evergreen/ocsp/rsa/mock-delegate-revoked.sh +++ b/.evergreen/ocsp/rsa/mock-delegate-revoked.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash python3 ../ocsp_mock.py \ --ca_file ca.pem \ --ocsp_responder_cert ocsp_responder.crt \ diff --git a/.evergreen/ocsp/rsa/mock-delegate-valid.sh b/.evergreen/ocsp/rsa/mock-delegate-valid.sh index 5074a7ec..b66ab99b 100755 --- a/.evergreen/ocsp/rsa/mock-delegate-valid.sh +++ b/.evergreen/ocsp/rsa/mock-delegate-valid.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash python3 ../ocsp_mock.py \ --ca_file ca.pem \ --ocsp_responder_cert ocsp-responder.crt \ diff --git a/.evergreen/ocsp/rsa/mock-revoked.sh b/.evergreen/ocsp/rsa/mock-revoked.sh index 4a17926b..968881c0 100755 --- a/.evergreen/ocsp/rsa/mock-revoked.sh +++ b/.evergreen/ocsp/rsa/mock-revoked.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash python3 ../ocsp_mock.py \ --ca_file ca.pem \ --ocsp_responder_cert ca.crt \ diff --git a/.evergreen/ocsp/rsa/mock-valid.sh b/.evergreen/ocsp/rsa/mock-valid.sh index c89ce9e9..18fcce41 100755 --- a/.evergreen/ocsp/rsa/mock-valid.sh +++ b/.evergreen/ocsp/rsa/mock-valid.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash python3 ../ocsp_mock.py \ --ca_file ca.pem \ --ocsp_responder_cert ca.crt \ diff --git a/.evergreen/run-orchestration.sh b/.evergreen/run-orchestration.sh index 026f110e..970f4a67 100755 --- a/.evergreen/run-orchestration.sh +++ b/.evergreen/run-orchestration.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash set -o errexit # Exit the script with error if any of the commands fail # Supported environment variables: diff --git a/.evergreen/stop-orchestration.sh b/.evergreen/stop-orchestration.sh index d1883a4a..4e67600f 100755 --- a/.evergreen/stop-orchestration.sh +++ b/.evergreen/stop-orchestration.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash set -o errexit # Exit the script with error if any of the commands fail cd "$MONGO_ORCHESTRATION_HOME"