about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Zepeda <github@inferiorhumanorgans.com>2023-07-21 17:55:49 -0700
committerAlex Zepeda <github@inferiorhumanorgans.com>2023-07-21 17:55:49 -0700
commit302ad2175d938a5307dd34779e20aada691fd28a (patch)
tree57b52630578deca91d98715490a8ab143bcccdc9
parent0308df23e621e783e31a27ca5beaa01b9df60d4a (diff)
downloadrust-302ad2175d938a5307dd34779e20aada691fd28a.tar.gz
rust-302ad2175d938a5307dd34779e20aada691fd28a.zip
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.
-rw-r--r--src/tools/rust-installer/install-template.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rust-installer/install-template.sh b/src/tools/rust-installer/install-template.sh
index 6415644e045..b477c3eac35 100644
--- a/src/tools/rust-installer/install-template.sh
+++ b/src/tools/rust-installer/install-template.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # No undefined variables
 set -u