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:
bors 2023-07-24 05:57:48 +00:00
commit bccefd2807

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# No undefined variables # No undefined variables
set -u set -u