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

chore(repo): install.sh should work in POSIX envs #2045

Merged
merged 1 commit into from
Feb 3, 2022

Conversation

jurek7
Copy link
Contributor

@jurek7 jurek7 commented Feb 1, 2022

In case of no command line arguments script is failing with the following error:
./install-spectral.sh: 30: [: latest: unexpected operator
Error requesting. Download binary from https://github.com/stoplightio/spectral/releases/download/vlatest/spectral-linux

Checklist

  • Tests added / updated
  • Docs added / updated

Does this PR introduce a breaking change?

  • Yes
  • No

Without script and in case of no command line arguments script is failing with the following error:
./install-spectral.sh: 30: [: latest: unexpected operator
Error requesting. Download binary from https://github.com/stoplightio/spectral/releases/download/vlatest/spectral-linux
@P0lip P0lip changed the title There is a typo in line 30, should be single equals sign chore(repo): install.sh has a broken comparison in POSIX Feb 3, 2022
Copy link
Contributor

@P0lip P0lip left a comment

Choose a reason for hiding this comment

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

Thanks!

@P0lip P0lip changed the title chore(repo): install.sh has a broken comparison in POSIX chore(repo): install.sh should work in POSIX envs Feb 3, 2022
@P0lip P0lip merged commit 29c65da into stoplightio:develop Feb 3, 2022
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.

2 participants