From 961aeb147e3949b7687efb751bc3c49bf790c9c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20B=C3=BChler?= Date: Fri, 7 Jan 2022 23:22:35 +0100 Subject: [PATCH] run bash via env command (#1637) `#!/usr/bin/env` searches `PATH` for `bash`, and `bash` is not always in `/bin`` Signed-off-by: Felix Buehler --- .travis/test-example-dockerfiles.sh | 2 +- generate-stackbrew-library.sh | 2 +- update.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis/test-example-dockerfiles.sh b/.travis/test-example-dockerfiles.sh index 2598ed6d..e28a7d7f 100755 --- a/.travis/test-example-dockerfiles.sh +++ b/.travis/test-example-dockerfiles.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e image="$1" diff --git a/generate-stackbrew-library.sh b/generate-stackbrew-library.sh index e5ee7efe..b747bc40 100755 --- a/generate-stackbrew-library.sh +++ b/generate-stackbrew-library.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -Eeuo pipefail stable_channel='22.2.3' diff --git a/update.sh b/update.sh index a75c926c..7d8db8c8 100755 --- a/update.sh +++ b/update.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -eo pipefail declare -A php_version=(