Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Fri, 29 Jan 2016 07:03:59
Message-Id: 1454050975.874af19749a53a0c21443b06a73dab38d135a518.ulm@gentoo
1 commit: 874af19749a53a0c21443b06a73dab38d135a518
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 27 16:21:21 2016 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 29 07:02:55 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=874af197
7
8 latex-package.eclass: Add some die commands.
9
10 eclass/latex-package.eclass | 4 ++--
11 1 file changed, 2 insertions(+), 2 deletions(-)
12
13 diff --git a/eclass/latex-package.eclass b/eclass/latex-package.eclass
14 index 92fc532..01815ce 100644
15 --- a/eclass/latex-package.eclass
16 +++ b/eclass/latex-package.eclass
17 @@ -120,7 +120,7 @@ latex-package_src_doinstall() {
18 for i in `find . -maxdepth 1 -type f -name "*.${1}"`
19 do
20 einfo "Making documentation: $i"
21 - texi2dvi -q -c --language=latex $i &> /dev/null
22 + texi2dvi -q -c --language=latex $i &> /dev/null || die
23 done
24 ;;
25 "tfm" | "vf" | "afm")
26 @@ -180,7 +180,7 @@ latex-package_src_compile() {
27 for i in `find \`pwd\` -maxdepth 1 -type f -name "*.ins"`
28 do
29 einfo "Extracting from $i"
30 - latex --interaction=batchmode $i &> /dev/null
31 + latex --interaction=batchmode $i &> /dev/null || die
32 done
33 }