Skip to content

Commit bccefd2

Browse files
committed
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.
2 parents 8771282 + 302ad21 commit bccefd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/rust-installer/install-template.sh

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

33
# No undefined variables
44
set -u

0 commit comments

Comments
 (0)