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

Makefile: use SHELL to call bin/knit_lesson.sh #562

Merged
merged 1 commit into from
Mar 19, 2021

Conversation

maxim-belkin
Copy link
Contributor

Use SHELL to call bin/knit_lessons.sh script. This should let us avoid relying on the executable bit of the script.

@zkamvar zkamvar self-requested a review March 18, 2021 23:26
Copy link
Contributor

@zkamvar zkamvar left a comment

Choose a reason for hiding this comment

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

This looks okay to me. I know that our scripts assume BASH, but modern macOS uses zsh, so I tried checking the scripts with shellcheck --shell shand the only one that doesn't pass the test is bin/run-make-docker-serve.sh, which we no longer use (and should be removed)

@maxim-belkin maxim-belkin merged commit b46187f into carpentries:gh-pages Mar 19, 2021
@maxim-belkin maxim-belkin deleted the call-sh-knit branch March 19, 2021 15:20
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