Skip to content

Commit 5f4d37f

Browse files
jeremymanningclaude
andcommitted
Fix compile.sh to suppress rm errors for non-existent files
Add -f flag to rm command to prevent exit code 1 when cleanup tries to delete files that don't exist (e.g., *.fdb_latexmk). This was causing GitHub Actions CI to fail despite successful PDF compilation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent b755335 commit 5f4d37f

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

compile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ latex -interaction=nonstopmode -halt-on-error lab_manual
44
latex -interaction=nonstopmode -halt-on-error lab_manual
55
latex -interaction=nonstopmode -halt-on-error lab_manual
66
pdflatex -interaction=nonstopmode -halt-on-error lab_manual
7-
rm *.log *.aux *.fdb_latexmk *.fls *.idx *.ilg *.ind *.out *.bbl *.blg *.run.xml
7+
rm -f *.log *.aux *.fdb_latexmk *.fls *.idx *.ilg *.ind *.out *.bbl *.blg *.run.xml

lab_manual.pdf

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)