diff --git a/Makefile b/Makefile index e472bf82f..b99370d4b 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ # Image URL to use all building/pushing image targets IMG ?= controller:latest -SHELL := /bin/bash -o pipefail +SHELL := bash -o pipefail VERSION_PACKAGE = github.com/replicatedhq/troubleshoot/pkg/version VERSION ?=`git describe --tags --dirty` DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` diff --git a/scripts/host-preflight-integration-test.sh b/scripts/host-preflight-integration-test.sh index 513a4ad7f..be4069fa9 100755 --- a/scripts/host-preflight-integration-test.sh +++ b/scripts/host-preflight-integration-test.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash function say() { echo diff --git a/scripts/initialize-sbom-build.sh b/scripts/initialize-sbom-build.sh index 34b2759d5..4c96c9a3c 100755 --- a/scripts/initialize-sbom-build.sh +++ b/scripts/initialize-sbom-build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -euo pipefail diff --git a/test/validate-preflight-e2e.sh b/test/validate-preflight-e2e.sh index 90502d864..a6dc1ab5b 100755 --- a/test/validate-preflight-e2e.sh +++ b/test/validate-preflight-e2e.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -euo pipefail diff --git a/test/validate-support-bundle-e2e.sh b/test/validate-support-bundle-e2e.sh index 7c9300aff..98ca7ccfc 100755 --- a/test/validate-support-bundle-e2e.sh +++ b/test/validate-support-bundle-e2e.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -euo pipefail