summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2020-01-20 13:48:26 +0300
committerMikle Kolyada <zlogene@gentoo.org>2020-01-20 13:49:39 +0300
commit190bac6828437355d68905760f3a17f82795c4fe (patch)
tree0fdeddf6f91ef2312b38d347566f22b00400561e /eclass/latex-package.eclass
parentRevert "texlive-common.eclass: fix a typo" (diff)
downloadgentoo-190bac6828437355d68905760f3a17f82795c4fe.tar.gz
gentoo-190bac6828437355d68905760f3a17f82795c4fe.tar.bz2
gentoo-190bac6828437355d68905760f3a17f82795c4fe.zip
Revert "texlive-module: kill POSIXism"
This reverts commit e31f7a975a787a5236c38a3c5b8462e6a2d2b922. Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'eclass/latex-package.eclass')
-rw-r--r--eclass/latex-package.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/latex-package.eclass b/eclass/latex-package.eclass
index 53d5efe0abcc..17b937683acf 100644
--- a/eclass/latex-package.eclass
+++ b/eclass/latex-package.eclass
@@ -127,10 +127,10 @@ latex-package_src_doinstall() {
if ! in_iuse doc || use doc ; then
for i in `find . -maxdepth 1 -type f -name "*.${1}"`
do
- [[ -n ${LATEX_PACKAGE_SKIP} ]] && has ${i##*/} ${LATEX_PACKAGE_SKIP} && continue
+ [[-n ${LATEX_PACKAGE_SKIP} ]] && has ${i##*/} ${LATEX_PACKAGE_SKIP} && continue
einfo "Making documentation: ${i}"
- if pdflatex ${LATEX_DOC_ARGUMENTS} --halt-on-error --interaction=nonstopmode ${i} ; then
- pdflatex ${LATEX_DOC_ARGUMENTS} --halt-on-error --interaction=nonstopmode ${i} || die
+ if pdflatex ${LATEX_DOC_ARGUMENTS} --halt-on-error --interaction=nonstopmode $i ; then
+ pdflatex ${LATEX_DOC_ARGUMENTS} --halt-on-error --interaction=nonstopmode $i || die
else
einfo "pdflatex failed, trying texi2dvi"
texi2dvi -q -c --language=latex ${i} || die