From 302ad2175d938a5307dd34779e20aada691fd28a Mon Sep 17 00:00:00 2001 From: Alex Zepeda Date: Fri, 21 Jul 2023 17:55:49 -0700 Subject: [PATCH] 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. --- src/tools/rust-installer/install-template.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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