mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 23:12:02 +00:00
Auto merge of #113940 - inferiorhumanorgans:installer-no-hardcode-bash-path, r=ozkanonur
rust-installer: Use env(1) in the shebang. This fixes the case (e.g. *BSD) where bash is installed on the host system, but not at the typical location of /bin.
This commit is contained in:
commit
bccefd2807
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# No undefined variables
|
||||
set -u
|
||||
|
Loading…
Reference in New Issue
Block a user