From 2558c02584999869eba2c66f3c55188272cfb186 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ruben=20H=C3=B6nle?= Date: Fri, 15 Aug 2025 11:31:39 +0200 Subject: [PATCH] chore(scripts): use bash found in path in shebang (#950) --- scripts/check-docs.sh | 2 +- scripts/lint-golangci-lint.sh | 2 +- scripts/project.sh | 2 +- scripts/replace.sh | 2 +- scripts/tfplugindocs.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/check-docs.sh b/scripts/check-docs.sh index d4d20356..4577dce0 100755 --- a/scripts/check-docs.sh +++ b/scripts/check-docs.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # This script is used to ensure for PRs the docs are up-to-date via the CI pipeline # Usage: ./check-docs.sh diff --git a/scripts/lint-golangci-lint.sh b/scripts/lint-golangci-lint.sh index 614748fd..c2ffd78f 100755 --- a/scripts/lint-golangci-lint.sh +++ b/scripts/lint-golangci-lint.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # This script lints the SDK modules and the internal examples # Pre-requisites: golangci-lint set -eo pipefail diff --git a/scripts/project.sh b/scripts/project.sh index cfb086e0..91bb1efd 100755 --- a/scripts/project.sh +++ b/scripts/project.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # This script is used to manage the project, only used for installing the required tools for now # Usage: ./project.sh [action] diff --git a/scripts/replace.sh b/scripts/replace.sh index 0c37f4b8..9326b1f7 100755 --- a/scripts/replace.sh +++ b/scripts/replace.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Add replace directives to local files to go.work set -eo pipefail diff --git a/scripts/tfplugindocs.sh b/scripts/tfplugindocs.sh index 6fd37694..3ca0e9f1 100755 --- a/scripts/tfplugindocs.sh +++ b/scripts/tfplugindocs.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Pre-requisites: tfplugindocs set -eo pipefail