Skip to content

Commit

Permalink
rust-installer: Use env(1) in the shebang.
Browse files Browse the repository at this point in the history
This fixes the case (e.g. *BSD) where bash is installed on the host
system, but not at the typical location of /bin.
  • Loading branch information
Alex Zepeda committed Jul 22, 2023
1 parent 0308df2 commit 302ad21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/rust-installer/install-template.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# No undefined variables
set -u
Expand Down

0 comments on commit 302ad21

Please sign in to comment.