Skip to content

Fix error and warnings in install script#1320

Merged
drager merged 1 commit intodrager:masterfrom
lucashorward:fix-install-script
Nov 19, 2023
Merged

Fix error and warnings in install script#1320
drager merged 1 commit intodrager:masterfrom
lucashorward:fix-install-script

Conversation

@lucashorward
Copy link
Contributor

@lucashorward lucashorward commented Aug 7, 2023

Closes #1159
Closes #1217
Closes #1283

Make sure these boxes are checked! 📦✅

  • You have the latest version of rustfmt installed
$ rustup component add rustfmt
  • You ran cargo fmt on the code base before submitting
  • You reference which issue is being closed in the PR text

✨✨ 😄 Thanks so much for contributing to wasm-pack! 😄 ✨✨

- Fixed error on line 139 - "==" was being used, whereas sh expects a "=" (and we do this correctly throughout the rest of the file). See https://www.shellcheck.net/wiki/SC3014 for more.
- Changed the use of backticks to the use of `$()` as specified in https://www.shellcheck.net/wiki/SC2006
- Changed the use of `-a` to `&&` as specified in https://www.shellcheck.net/wiki/SC2166

Closes drager#1159
Closes drager#1217
Closes drager#1283
Copy link
Owner

@drager drager left a comment

Choose a reason for hiding this comment

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

Thanks

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

Successfully merging this pull request may close these issues.

Error message in init.sh due to using == instead of = in an if Error in Linux installer script Install script error (tiny)

2 participants