Skip to content

Commit

Permalink
latex-package.eclass: Add some die commands.
Browse files Browse the repository at this point in the history
  • Loading branch information
ulm committed Jan 29, 2016
1 parent a424713 commit 874af19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eclass/latex-package.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ latex-package_src_doinstall() {
for i in `find . -maxdepth 1 -type f -name "*.${1}"`
do
einfo "Making documentation: $i"
texi2dvi -q -c --language=latex $i &> /dev/null
texi2dvi -q -c --language=latex $i &> /dev/null || die
done
;;
"tfm" | "vf" | "afm")
Expand Down Expand Up @@ -180,7 +180,7 @@ latex-package_src_compile() {
for i in `find \`pwd\` -maxdepth 1 -type f -name "*.ins"`
do
einfo "Extracting from $i"
latex --interaction=batchmode $i &> /dev/null
latex --interaction=batchmode $i &> /dev/null || die
done
}

Expand Down

0 comments on commit 874af19

Please sign in to comment.