summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2020-01-20 01:08:37 +0300
committerMikle Kolyada <zlogene@gentoo.org>2020-01-20 12:34:01 +0300
commite31f7a975a787a5236c38a3c5b8462e6a2d2b922 (patch)
treed9621c8053d86a5c33498e14c862d3b19d6256fb /eclass/latex-package.eclass
parenttexlive-common: kill POSIXism (diff)
downloadgentoo-e31f7a975a787a5236c38a3c5b8462e6a2d2b922.tar.gz
gentoo-e31f7a975a787a5236c38a3c5b8462e6a2d2b922.tar.bz2
gentoo-e31f7a975a787a5236c38a3c5b8462e6a2d2b922.zip
texlive-module: kill POSIXism
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 17b937683acf..53d5efe0abcc 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