diff options
| author | Chris Sobczak <chris@sobczak.family> | 2026-05-08 16:45:46 -0700 |
|---|---|---|
| committer | Chris Sobczak <chris@sobczak.family> | 2026-05-08 16:45:46 -0700 |
| commit | 5b909092c14b56eb50f86a5411e852b3b01c8069 (patch) | |
| tree | dde4503b03e81cce67a4b9cdb45307ebd6a50a01 /scripts/rmd2pdf | |
| parent | b1bbb1984a66ddfce7ee3b53949de928e4f6bb37 (diff) | |
Safely clean mess of files when rendering
Diffstat (limited to 'scripts/rmd2pdf')
| -rwxr-xr-x | scripts/rmd2pdf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/rmd2pdf b/scripts/rmd2pdf index 3c7a287..3a86b21 100755 --- a/scripts/rmd2pdf +++ b/scripts/rmd2pdf @@ -1,2 +1,4 @@ #!/bin/sh Rscript -e "rmarkdown::render('$1')" +mkdir -p render-files +mv *{.acn,.acr,.alg,.glg,.glo,.gls,.glsdefs,.ist} render-files/ 2>/dev/null |
