projects
/
webi-installers
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
135263f
)
chore(rustlang): bash style update (use function)
author
AJ ONeal
<aj@therootcompany.com>
Sun, 14 Nov 2021 09:39:12 +0000
(09:39 +0000)
committer
AJ ONeal
<aj@therootcompany.com>
Sun, 14 Nov 2021 09:39:12 +0000
(09:39 +0000)
rustlang/install.sh
patch
|
blob
|
history
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
-# 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