From a773105a8405b2bc9e189481b85c13de81e8d2e0 Mon Sep 17 00:00:00 2001 From: Raphael Cohn Date: Tue, 13 Sep 2016 12:18:05 +0100 Subject: [PATCH] Adjusted need_cmd to add uname and remove print (which is always a builtin) --- rustup-init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rustup-init.sh b/rustup-init.sh index a49ab3b272..889859b500 100755 --- a/rustup-init.sh +++ b/rustup-init.sh @@ -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"