Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rustup should use = instead of == for string equality (POSIX shell) #1047

Closed
galexander1 opened this issue Apr 9, 2017 · 0 comments
Closed

Comments

@galexander1
Copy link
Contributor

I get this error when attempting to run rustup on a armv7-unknown-linux-gnueabihf host:

./rustup.sh: 249: [: unknown-linux-gnu: unexpected operator

bash accepts == for string comparison, but POSIX only defines =.

A pull request will be forthcoming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants