Skip to content

Update build.sh #77

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

Merged
merged 2 commits into from
Jan 22, 2024
Merged

Update build.sh #77

merged 2 commits into from
Jan 22, 2024

Conversation

chrisfenner
Copy link
Member

@chrisfenner chrisfenner commented Jan 22, 2024

We can fail to copy the input file if it's not in the root directory of the repo (e.g., cp: cannot create regular file '/tmp/tmp.sRqO7Yhj5L/dpe-irot-profile/main.md': No such file or directory).

Make the missing directory before copying. While we're fixing an issue of this type, also make the missing directory before asking pandoc to create an output file.

May fix #78 (need to run a one-off test)

We can fail to copy the input file if it's not in the root directory of the repo (e.g., `cp: cannot create regular file '/tmp/tmp.sRqO7Yhj5L/dpe-irot-profile/main.md': No such file or directory`).

Make the missing directory before copying.
@chrisfenner chrisfenner merged commit f8a1033 into main Jan 22, 2024
@chrisfenner chrisfenner deleted the support-md-in-not-root-dir branch January 22, 2024 18:34
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.

Build breaks if md file is not in root dir of repository
2 participants