Skip to content

Commit 78482c7

Browse files
authored
Merge pull request #723 from lemonrock/need_cmd
Adjusted need_cmd to add uname and remove printf
2 parents 8d5c597 + a773105 commit 78482c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rustup-init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ set -u
1818
RUSTUP_UPDATE_ROOT="https://static.rust-lang.org/rustup/dist"
1919

2020
main() {
21+
need_cmd uname
2122
need_cmd curl
2223
need_cmd mktemp
2324
need_cmd chmod
2425
need_cmd mkdir
2526
need_cmd rm
2627
need_cmd rmdir
27-
need_cmd printf
2828

2929
get_architecture || return 1
3030
local _arch="$RETVAL"

0 commit comments

Comments
 (0)