Skip to content

rustup-init.sh ksh and zsh compatibility fixes - #3475

Merged
rami3l merged 2 commits into
rust-lang:masterfrom
alexhudspith:ksh-zsh-compat
Oct 10, 2023
Merged

rustup-init.sh ksh and zsh compatibility fixes#3475
rami3l merged 2 commits into
rust-lang:masterfrom
alexhudspith:ksh-zsh-compat

Conversation

@alexhudspith

@alexhudspithalexhudspith commented Sep 8, 2023

Copy link
Copy Markdown
Contributor

Fixes#3388
Fixes#3474

Tested with:

ShellVersions
bash(ubuntu) 5.1.16(1)-release
dash(ubuntu) 0.5.11+git20210903+057cd650a4ed-3build1
(debian) 0.5.12-2
ksh93(illumos) Version jM 93u+ 2012-08-01
(ubuntu) Version AJM 93u+m/1.0.0-beta.2 2021-12-17
mksh(ubuntu) @(#)MIRBSD KSH R59 2022/01/31 +Debian
zsh(ubuntu) 5.8.1

@rami3lrami3l mentioned this pull request Oct 5, 2023
djc
djc approved these changes Oct 10, 2023

@djcdjc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not very experienced with shell, but these changes seem to make sense to me.

rami3l
rami3l previously approved these changes Oct 10, 2023
Comment threadrustup-init.sh
@rami3l
rami3l dismissed their stale reviewOctober 10, 2023 10:30

Concern regarding setopt shwordsplit

@rami3l
rami3l merged commit 3d6f8ea into rust-lang:masterOct 10, 2023
@rami3l

Copy link
Copy Markdown
Member

@alexhudspith Sorry, I somehow missed your reply when approving those changes. The setopt local_options shwordsplit fix is still nice to have though: you can make a new PR for that if you like 🙇‍♀️

@alexhudspith

Copy link
Copy Markdown
ContributorAuthor

@rami3l No problem, thanks!

@rami3lrami3l added this to the 1.27.0 milestone Jan 18, 2024
@rami3lrami3l mentioned this pull request Jan 29, 2024
1 task
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rustup-init.sh fails in zsh due to no word-splitting of curl "--retry 3" rustup-init.sh's solaris/illumos bail doesn't work properly

3 participants

@alexhudspith@rami3l@djc