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

Fix build on systems where sh is not bash #178

Merged
merged 1 commit into from
Jun 26, 2020

Conversation

joshtriplett
Copy link
Contributor

When invoking make to build flyctl, I got the following error:

scripts/generate_docs.sh: 6: [[: not found

It looks like scripts/generate_docs.sh expects to run with bash, but the
Makefile invokes it using sh scripts/generate_docs.sh. Change the
Makefile to use bash, and also add a bash shebang to the script.

When invoking `make` to build flyctl, I got the following error:

scripts/generate_docs.sh: 6: [[: not found

It looks like `scripts/generate_docs.sh` expects to run with bash, but the
Makefile invokes it using `sh scripts/generate_docs.sh`. Change the
Makefile to use `bash`, and also add a bash shebang to the script.
@michaeldwan
Copy link
Member

@joshtriplett nice fix, thanks!

@michaeldwan michaeldwan merged commit 327ce6f into superfly:master Jun 26, 2020
@joshtriplett joshtriplett deleted the bash branch June 26, 2020 20:55
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.

None yet

2 participants