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 exit code issue when pandoc is not installed #2240

Merged
merged 1 commit into from
Aug 20, 2019
Merged

Fix exit code issue when pandoc is not installed #2240

merged 1 commit into from
Aug 20, 2019

Conversation

robertDurst
Copy link
Contributor

Description

If pandoc is not installed, pandoc's exit code is ignored by the - preceding it. However, the final sed command tries to reference the output file of pandoc and its exit code is not ignored.

Thus, this PR adds the - prefix to the final sed.

For anyone curious about @, -, and + prefixes: https://stackoverflow.com/questions/3477292/what-do-and-do-as-prefixes-to-recipe-lines-in-make

Checklist

  • Reviewed the contributing document
  • Rebased on top of master (no merge commits)
  • Compiles

@MonsieurNicolas
Copy link
Contributor

r+ 42190a0

latobarita added a commit that referenced this pull request Aug 20, 2019
Fix exit code issue when pandoc is not installed

Reviewed-by: MonsieurNicolas
@latobarita latobarita merged commit 42190a0 into stellar:master Aug 20, 2019
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

3 participants