From 57864ae58f7f6930fa68ee8ab4c0e9b5ebd3bd93 Mon Sep 17 00:00:00 2001 From: jholdstock Date: Tue, 19 Sep 2023 09:59:01 +0100 Subject: [PATCH] main: POSIX compliant shebang for locating bash. Improve portability of run_tests.sh and harness.sh by using the POSIX compliant shebang for locating bash. --- harness.sh | 4 ++-- run_tests.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/harness.sh b/harness.sh index b7b458d..ce437a0 100755 --- a/harness.sh +++ b/harness.sh @@ -1,6 +1,6 @@ -#!/bin/bash +#!/usr/bin/env bash # -# Copyright (c) 2020-2021 The Decred developers +# Copyright (c) 2020-2023 The Decred developers # Use of this source code is governed by an ISC # license that can be found in the LICENSE file. # diff --git a/run_tests.sh b/run_tests.sh index f0cf967..40d98c2 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -1,6 +1,6 @@ -#!/bin/bash +#!/usr/bin/env bash # -# Copyright (c) 2020-2022 The Decred developers +# Copyright (c) 2020-2023 The Decred developers # Use of this source code is governed by an ISC # license that can be found in the LICENSE file. #