Skip to content

Commit 0865d2e

Browse files
authored
Merge pull request #1727 from lzutao/zsh-noequals
Fix fallout when zsh options `noequals` is unset (default)
2 parents bb05ccc + 0ab9648 commit 0865d2e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rustup-init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ downloader() {
376376
if [ "$1" = --check ]; then
377377
need_cmd "$_dld"
378378
elif [ "$_dld" = curl ]; then
379-
curl --proto =https --tlsv1.2 --silent --show-error --fail --location "$1" --output "$2"
379+
curl --proto '=https' --tlsv1.2 --silent --show-error --fail --location "$1" --output "$2"
380380
elif [ "$_dld" = wget ]; then
381381
wget --https-only --secure-protocol=TLSv1_2 "$1" -O "$2"
382382
else

www/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
then follow the onscreen instructions.
3737
</p>
3838
<p>If you're a Windows Subsystem for Linux user run the following in your terminal, then follow the onscreen instructions to install Rust.</p>
39-
<pre>curl --proto =https --tlsv1.2 -sSf https://sh.rustup.rs | sh</pre>
39+
<pre>curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh</pre>
4040
<p class="other-platforms-help">You appear to be running Windows 32-bit. If not, <a class="default-platform-button" href="#">display all supported installers</a>.</p>
4141
</div>
4242

0 commit comments

Comments
 (0)