Skip to content

Commit

Permalink
Merge pull request #2314 from workingjubilee/posix-eh-close-enough
Browse files Browse the repository at this point in the history
Reassert /bin/sh validity
  • Loading branch information
kinnison authored May 8, 2020
2 parents 690a2f5 + 0c4da75 commit 0e2976b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rustup-init.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
#!/bin/bash
#!/bin/sh
# shellcheck shell=dash

# This is just a little script that can be downloaded from the internet to
# install rustup. It just does platform detection, downloads the installer
# and runs it.

# It runs on Unix shells like {a,ba,da,k,z}sh. It uses the common `local`
# extension. Note: Most shells limit `local` to 1 var per line, contra bash.

set -u

# If RUSTUP_UPDATE_ROOT is unset or empty, default it.
Expand Down

0 comments on commit 0e2976b

Please sign in to comment.