diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-02-14 14:43:23 +0100 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2021-02-14 18:12:51 +0100 |
| commit | 9be3936e955139c010c3502670f67ec92440ed0c (patch) | |
| tree | e20397024a85468f00c4eeb480c047dcb2d2245c /scripts | |
| parent | 658d12408bfec3b499f24ccdffbec9e8679e87a1 (diff) | |
| download | rust-9be3936e955139c010c3502670f67ec92440ed0c.tar.gz rust-9be3936e955139c010c3502670f67ec92440ed0c.zip | |
Use #!/usr/bin/env bash
FreeBSD doesn't have /bin/bash
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/cargo.sh | 2 | ||||
| -rwxr-xr-x | scripts/rustup.sh | 2 | ||||
| -rwxr-xr-x | scripts/test_bootstrap.sh | 2 | ||||
| -rwxr-xr-x | scripts/tests.sh | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/scripts/cargo.sh b/scripts/cargo.sh index a3d6d303057..669d2d45b71 100755 --- a/scripts/cargo.sh +++ b/scripts/cargo.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash dir=$(dirname "$0") source "$dir/config.sh" diff --git a/scripts/rustup.sh b/scripts/rustup.sh index 430f5c469b4..694945a87c2 100755 --- a/scripts/rustup.sh +++ b/scripts/rustup.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e diff --git a/scripts/test_bootstrap.sh b/scripts/test_bootstrap.sh index 15f97c867a1..5bc45488444 100755 --- a/scripts/test_bootstrap.sh +++ b/scripts/test_bootstrap.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e cd "$(dirname "$0")/../" diff --git a/scripts/tests.sh b/scripts/tests.sh index d37b57babe6..cfc0c3fe9bd 100755 --- a/scripts/tests.sh +++ b/scripts/tests.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e |
