projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
chore(rustlang): bash style update (use function)
[webi-installers/.git]
/
rustlang
/
install.sh
diff --git
a/rustlang/install.sh
b/rustlang/install.sh
index 599d0ee5776f7947234fb7907f291ea853032c47..1cf75bb70e8f3ebe1c356b7c095186cd3646ccf1 100644
(file)
--- a/
rustlang/install.sh
+++ b/
rustlang/install.sh
@@
-1,4
+1,8
@@
#!/bin/bash
#!/bin/bash
-# Straight from https://rustup.rs/
-curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
+function __install_rust() {
+ # Straight from https://rustup.rs/
+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
+}
+
+__install_rust