When running the yarn install.sh script in a system set with dash as sh shell, there are errors during installation displayed, as the installation script uses bashisms.
Command
./install.sh
What is the current behavior?
install.sh outputs warnings:
install.sh: 52: [[: not found
install.sh: 57: [: unexpected operator
install.sh: 95: [[: not found
What is the expected behavior?
The installer should run without warnings.
Bug description
When running the yarn
install.sh
script in a system set withdash
assh
shell, there are errors during installation displayed, as the installation script uses bashisms.Command
What is the current behavior?
install.sh outputs warnings:
What is the expected behavior? The installer should run without warnings.
Steps to Reproduce
curl -L -o install.sh https://yarnpkg.com/install.sh
chmod +x install.sh && ./install.sh
Environment
n/a
1.19.2
dash
shell