diff --git a/Makefile b/Makefile index 7bd6d9c2d4..595d84962d 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -SHELL=/bin/bash -o pipefail +SHELL=/usr/bin/env bash -o pipefail export GO111MODULE := on export PATH := .bin:${PATH} diff --git a/scripts/run-format.sh b/scripts/run-format.sh index 971381041a..af3dfe8f21 100755 --- a/scripts/run-format.sh +++ b/scripts/run-format.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -euo pipefail diff --git a/scripts/run-gensdk.sh b/scripts/run-gensdk.sh index 0c9f6d22b2..5f1f704b31 100755 --- a/scripts/run-gensdk.sh +++ b/scripts/run-gensdk.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -euo pipefail diff --git a/scripts/run-genswag.sh b/scripts/run-genswag.sh index 9a44fb0c46..6c8ee3b219 100755 --- a/scripts/run-genswag.sh +++ b/scripts/run-genswag.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -euo pipefail diff --git a/scripts/run-mock.sh b/scripts/run-mock.sh index be1342fca9..85ad754ce5 100644 --- a/scripts/run-mock.sh +++ b/scripts/run-mock.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -euo pipefail diff --git a/scripts/test-format.sh b/scripts/test-format.sh index 17799995c3..e168929e99 100755 --- a/scripts/test-format.sh +++ b/scripts/test-format.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -euo pipefail diff --git a/test/e2e/run.sh b/test/e2e/run.sh index 2341deb7b8..e9faa68c9d 100755 --- a/test/e2e/run.sh +++ b/test/e2e/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -euxo pipefail diff --git a/test/reload/run.sh b/test/reload/run.sh index 07c01728d5..f560e2c0cc 100755 --- a/test/reload/run.sh +++ b/test/reload/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -euxo pipefail