diff --git a/README.md b/README.md index 556c031..a45a69a 100644 --- a/README.md +++ b/README.md @@ -334,7 +334,7 @@ necessary for using this build system. It's being sourced by a script with the same name in the superproject's top directory: ```bash -#!/bin/bash +#!/usr/bin/env bash # We use ${BASH_SOURCE[0]} instead of $0 to allow sourcing this file # and we fall back to a Zsh-specific special var to also support Zsh. diff --git a/scripts/add_submodule.sh b/scripts/add_submodule.sh index d4b24e9..fe8a9dd 100755 --- a/scripts/add_submodule.sh +++ b/scripts/add_submodule.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (c) 2018-2020 Status Research & Development GmbH. Licensed under # either of: diff --git a/scripts/build_nim.sh b/scripts/build_nim.sh index ed1049f..1e2a38f 100755 --- a/scripts/build_nim.sh +++ b/scripts/build_nim.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # used in Travis CI and AppVeyor scripts # Copyright (c) 2018-2020 Status Research & Development GmbH. Licensed under diff --git a/scripts/build_p2pd.sh b/scripts/build_p2pd.sh index 5a24577..173b0ec 100755 --- a/scripts/build_p2pd.sh +++ b/scripts/build_p2pd.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (c) 2018-2020 Status Research & Development GmbH. Licensed under # either of: diff --git a/scripts/build_rocksdb.sh b/scripts/build_rocksdb.sh index e4ae051..594f505 100755 --- a/scripts/build_rocksdb.sh +++ b/scripts/build_rocksdb.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # used in Travis CI scripts # Copyright (c) 2018-2020 Status Research & Development GmbH. Licensed under diff --git a/scripts/create_nimble_link.sh b/scripts/create_nimble_link.sh index a0da6ee..cdf8085 100755 --- a/scripts/create_nimble_link.sh +++ b/scripts/create_nimble_link.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (c) 2018-2019 Status Research & Development GmbH. Licensed under # either of: diff --git a/scripts/env.sh b/scripts/env.sh index 2703a1f..341d54f 100755 --- a/scripts/env.sh +++ b/scripts/env.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (c) 2018-2019 Status Research & Development GmbH. Licensed under # either of: diff --git a/scripts/git_show_deps.sh b/scripts/git_show_deps.sh index 731143f..e837125 100755 --- a/scripts/git_show_deps.sh +++ b/scripts/git_show_deps.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e diff --git a/scripts/nimble.sh b/scripts/nimble.sh index e206296..933b293 100755 --- a/scripts/nimble.sh +++ b/scripts/nimble.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (c) 2018-2019 Status Research & Development GmbH. Licensed under # either of: