Skip to content

Commit

Permalink
Cat all output
Browse files Browse the repository at this point in the history
  • Loading branch information
aeifn committed Aug 27, 2024
1 parent 17a3fba commit e5466a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions bin/latextopdf
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ WD=$(mktemp -d)
cd "$WD"

cat >main.tex
if pdflatex main.tex >main.log; then
if pdflatex main.tex >main.log 2>&1; then
cat main.pdf
else
tee /dev/stderr <main.log
cat main.log
exit 1
fi
6 changes: 3 additions & 3 deletions bin/ziplatextopdf
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ WD=$(mktemp -d)
cd "$WD"

cat >main.zip
if unzip main.zip >main.log &&
pdflatex main.tex >>main.log; then
if unzip main.zip >main.log 2>&1 &&
pdflatex main.tex >>main.log 2>&1; then
cat main.pdf
else
tee /dev/stderr <main.log
cat main.log
exit 1
fi

0 comments on commit e5466a9

Please sign in to comment.