From b477c8a50a08ef232be3bdd4fac400bcd0e88a80 Mon Sep 17 00:00:00 2001 From: lewiscowleschipuk <83500856+lewiscowleschipuk@users.noreply.github.com> Date: Wed, 18 May 2022 01:25:00 +0100 Subject: [PATCH] fix: call bash directly rather than via /usr/bin/env --- packaging/pact-broker.sh | 2 +- packaging/pact-message.sh | 2 +- packaging/pact-mock-service.sh | 2 +- packaging/pact-provider-verifier.sh | 2 +- packaging/pact-publish.sh | 2 +- packaging/pact-stub-service.sh | 2 +- packaging/pact.sh | 2 +- script/docker-functions | 2 +- script/prepare-release-in-github-workflow.sh | 2 +- script/release.sh | 2 +- script/update-and-release.sh | 2 +- script/update-in-github-workflow.sh | 2 +- script/update.sh | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/packaging/pact-broker.sh b/packaging/pact-broker.sh index 5110d81..8afe726 100755 --- a/packaging/pact-broker.sh +++ b/packaging/pact-broker.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/bash set -e SOURCE="$0" diff --git a/packaging/pact-message.sh b/packaging/pact-message.sh index ac78f18..9d1c73e 100755 --- a/packaging/pact-message.sh +++ b/packaging/pact-message.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/bash set -e SOURCE="$0" diff --git a/packaging/pact-mock-service.sh b/packaging/pact-mock-service.sh index 3d1f3f9..7de5af6 100755 --- a/packaging/pact-mock-service.sh +++ b/packaging/pact-mock-service.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/bash set -e SOURCE="$0" diff --git a/packaging/pact-provider-verifier.sh b/packaging/pact-provider-verifier.sh index 82f5944..29bb73e 100755 --- a/packaging/pact-provider-verifier.sh +++ b/packaging/pact-provider-verifier.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/bash set -e SOURCE="${BASH_SOURCE[0]}" diff --git a/packaging/pact-publish.sh b/packaging/pact-publish.sh index 0ed3960..ab9144e 100755 --- a/packaging/pact-publish.sh +++ b/packaging/pact-publish.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/bash set -e SOURCE="${BASH_SOURCE[0]}" diff --git a/packaging/pact-stub-service.sh b/packaging/pact-stub-service.sh index c985477..a897a56 100755 --- a/packaging/pact-stub-service.sh +++ b/packaging/pact-stub-service.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/bash set -e SOURCE="$0" diff --git a/packaging/pact.sh b/packaging/pact.sh index 22c3d07..bdac201 100755 --- a/packaging/pact.sh +++ b/packaging/pact.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/bash set -e SOURCE="$0" diff --git a/script/docker-functions b/script/docker-functions index e84f88f..af293f1 100644 --- a/script/docker-functions +++ b/script/docker-functions @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/bash IMAGE=pact-ruby-standalone-bundle-base RELEASE_IMAGE=pact-ruby-standalone-release-base diff --git a/script/prepare-release-in-github-workflow.sh b/script/prepare-release-in-github-workflow.sh index cb137ab..f2e0ba9 100755 --- a/script/prepare-release-in-github-workflow.sh +++ b/script/prepare-release-in-github-workflow.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/bash set -Eeuo pipefail diff --git a/script/release.sh b/script/release.sh index 1dab21b..9a8f3bb 100755 --- a/script/release.sh +++ b/script/release.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/bash set -e source script/docker-functions diff --git a/script/update-and-release.sh b/script/update-and-release.sh index 076a700..af6eb77 100755 --- a/script/update-and-release.sh +++ b/script/update-and-release.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/bash set -e diff --git a/script/update-in-github-workflow.sh b/script/update-in-github-workflow.sh index 99f5abd..254e143 100755 --- a/script/update-in-github-workflow.sh +++ b/script/update-in-github-workflow.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/bash set -Eeuo diff --git a/script/update.sh b/script/update.sh index 11c0d73..1ace1fd 100755 --- a/script/update.sh +++ b/script/update.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/bash source script/docker-functions