Skip to content

Commit

Permalink
Adjusted need_cmd to add uname and remove print (which is always a bu…
Browse files Browse the repository at this point in the history
…iltin)
  • Loading branch information
raphaelcohn committed Sep 13, 2016
1 parent 70c5733 commit a773105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rustup-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ set -u
RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup/dist"

main() {
need_cmd uname
need_cmd curl
need_cmd mktemp
need_cmd chmod
need_cmd mkdir
need_cmd rm
need_cmd rmdir
need_cmd printf

get_architecture || return 1
local _arch="$RETVAL"
Expand Down

0 comments on commit a773105

Please sign in to comment.