Skip to content

Commit 83d470d

Browse files
MikaelUrankarMikaelUrankar
and
MikaelUrankar
authored
Don't assume /bin/bash is available on every system. (rust-lang#1223)
Co-authored-by: MikaelUrankar <[email protected]>
1 parent 557a09f commit 83d470d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

scripts/filter_profile.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
#![forbid(unsafe_code)]/* This line is ignored by bash
33
# This block is ignored by rustc
44
pushd $(dirname "$0")/../

scripts/setup_rust_fork.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
set -e
33

44
./y.rs build --no-unstable-features

scripts/test_rustc_tests.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
set -e
33

44
cd $(dirname "$0")/../

0 commit comments

Comments
 (0)