about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-07-24 05:57:48 +0000
committerbors <bors@rust-lang.org>2023-07-24 05:57:48 +0000
commitbccefd280755e52b60d721bb6e5ff2556180a57b (patch)
tree52ea8c29684a80f08a928731ec4af78b578dc434
parent8771282d4e7a5c4569e49d1f878fb3ba90a974d0 (diff)
parent302ad2175d938a5307dd34779e20aada691fd28a (diff)
downloadrust-bccefd280755e52b60d721bb6e5ff2556180a57b.tar.gz
rust-bccefd280755e52b60d721bb6e5ff2556180a57b.zip
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.
-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