File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 99 <div class =" language-plaintext highlighter-rouge " ><div class =" highlight " ><button >Copy</button ><pre class =" highlight " ><code >curl -O "https://download.swift.org/swiftly/linux/swiftly-$(uname -m).tar.gz" & ;& ; \
1010tar zxf "swiftly-$(uname -m).tar.gz" & ;& ; \
1111./swiftly init --quiet-shell-followup & ;& ; \
12- . ~ /.local/share/swiftly/env.sh & ;& ; \
12+ . ${SWIFTLY_HOME_DIR:- ~ /.local/share/swiftly} /env.sh & ;& ; \
1313hash -r
1414</code ></pre ></div ></div >
1515 <h4 >License: <a href =" https://raw.githubusercontent.com/swiftlang/swiftly/refs/heads/main/LICENSE.txt " >Apache-2.0</a > | PGP: <a href =" https://download.swift.org/swiftly/linux/swiftly-0.4.0-dev-x86_64.tar.gz.sig " >Signature</a ></h4 >
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ title: Install Swift
1616 <div class =" language-plaintext highlighter-rouge " ><div class =" highlight " ><button >Copy</button ><pre class =" highlight " ><code >curl -O https://download.swift.org/swiftly/darwin/swiftly.pkg & ;& ; \
1717installer -pkg swiftly.pkg -target CurrentUserHomeDirectory & ;& ; \
1818~ /.swiftly/bin/swiftly init --quiet-shell-followup & ;& ; \
19- . ~ /.swiftly/env.sh & ;& ; \
19+ . ${SWIFTLY_HOME_DIR:- ~ /.swiftly} /env.sh & ;& ; \
2020hash -r
2121</code ></pre ></div ></div >
2222 <h4 >License: <a href =" https://raw.githubusercontent.com/swiftlang/swiftly/refs/heads/main/LICENSE.txt " >Apache-2.0</a ></h4 >
You can’t perform that action at this time.
0 commit comments