Skip to content

Commit

Permalink
Auto merge of #3056 - Nilstrieb:patch-1, r=RalfJung
Browse files Browse the repository at this point in the history
Use `#!/usr/bin/env` shebang

```
$ ls /bin/bash
ls: cannot access '/bin/bash': No such file or directory
```

On certain systems, `/bin` and `/usr/bin` are nothing but wastelands, with just `env`around as the last survivor of the great purge. The binaries have cowardly hidden away and only `env` can show us the way to greatness (bash). ❄️
  • Loading branch information
bors committed Sep 8, 2023
2 parents aae7597 + 0131586 commit f9ce2d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miri
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# Instead of doing just `cargo run --manifest-path .. $@`, we invoke miri-script binary directly. Invoking `cargo run` goes through
# rustup (that sets it's own environmental variables), which is undesirable.
Expand Down

0 comments on commit f9ce2d0

Please sign in to comment.