about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-01-22 07:56:44 +0100
committerGitHub <noreply@github.com>2024-01-22 07:56:44 +0100
commite39608d64f58dd653e64a4d03376ce766868fb94 (patch)
treea90d60f91ae9ee7d9e0ca47f81fcb202295f8d6e
parent50d0f2462019b0f2bd4dec66117b57a7b076b2f1 (diff)
parent30b8b44990d2cfb66a723b1d1eefbd9c31da6892 (diff)
downloadrust-e39608d64f58dd653e64a4d03376ce766868fb94.tar.gz
rust-e39608d64f58dd653e64a4d03376ce766868fb94.zip
Rollup merge of #120203 - rowan-sl:usr-bin-env-bash, r=compiler-errors
Replace `#!/bin/bash` with `#!/usr/bin/env bash` in rust-installer tests

This allows the rust-installer tests to pass on NixOS

This change has [already been made](https://github.com/rust-lang/rust/commit/302ad2175d938a5307dd34779e20aada691fd28a) for the actual installer, it appears that the tests were just forgotten.
-rwxr-xr-xsrc/tools/rust-installer/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rust-installer/test.sh b/src/tools/rust-installer/test.sh
index 4f69bfc63e9..16b05c66197 100755
--- a/src/tools/rust-installer/test.sh
+++ b/src/tools/rust-installer/test.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 set -e -u