From 93edea866663a0cd72b2bcaad28456685f57977f Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Fri, 24 Feb 2023 01:44:48 +0900 Subject: [PATCH] Update shebang for bash scripts In non-Linux systems such as BSDs, bash is not always in /bin. --- ci/manifest.sh | 2 +- main.sh | 2 +- tools/manifest.sh | 2 +- tools/publish.sh | 2 +- tools/tidy.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ci/manifest.sh b/ci/manifest.sh index 28f7c013..7c13917c 100755 --- a/ci/manifest.sh +++ b/ci/manifest.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -euxo pipefail IFS=$'\n\t' cd "$(dirname "$0")"/.. diff --git a/main.sh b/main.sh index 84bbf572..a48d81bc 100755 --- a/main.sh +++ b/main.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -euo pipefail IFS=$'\n\t' diff --git a/tools/manifest.sh b/tools/manifest.sh index bce3a24d..ad40ddda 100755 --- a/tools/manifest.sh +++ b/tools/manifest.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -euo pipefail IFS=$'\n\t' cd "$(dirname "$0")"/.. diff --git a/tools/publish.sh b/tools/publish.sh index f0f4b614..4aa6e2dc 100755 --- a/tools/publish.sh +++ b/tools/publish.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -euo pipefail IFS=$'\n\t' cd "$(dirname "$0")"/.. diff --git a/tools/tidy.sh b/tools/tidy.sh index df52d593..ca770bdb 100755 --- a/tools/tidy.sh +++ b/tools/tidy.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # shellcheck disable=SC2046 set -euo pipefail IFS=$'\n\t'