Skip to content

Commit

Permalink
Merge pull request #723 from lemonrock/need_cmd
Browse files Browse the repository at this point in the history
Adjusted need_cmd to add uname and remove printf
  • Loading branch information
brson authored Sep 30, 2016
2 parents 8d5c597 + a773105 commit 78482c7
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 78482c7

Please sign in to comment.