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:
Alex Zepeda 2023-07-21 17:55:49 -07:00
parent 0308df23e6
commit 302ad2175d

View File

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