summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2020-08-12 14:25:26 +0200
committerAlexis Ballier <aballier@gentoo.org>2020-08-12 14:25:45 +0200
commitbb12aac76aea4484ad341d8d2e00b4e01c42a8b3 (patch)
tree286020d8b567c7bdf69feda9dfe9c3febc6817c2 /eclass/texlive-common.eclass
parentdev-python/osrf_pycommon: add missing test dep (diff)
downloadgentoo-bb12aac76aea4484ad341d8d2e00b4e01c42a8b3.tar.gz
gentoo-bb12aac76aea4484ad341d8d2e00b4e01c42a8b3.tar.bz2
gentoo-bb12aac76aea4484ad341d8d2e00b4e01c42a8b3.zip
eclass/texlive-common.eclass: fix texlive-common_is_file_present_in_texmf.
Function was not returning if the file was found or not. Always returned true. Fixes: [dcfc5829e7c027057d8] texlive-common.eclass: kill POSIXism Closes: https://bugs.gentoo.org/736872 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'eclass/texlive-common.eclass')
-rw-r--r--eclass/texlive-common.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/texlive-common.eclass b/eclass/texlive-common.eclass
index 67e06adf0909..1fe33444f1e5 100644
--- a/eclass/texlive-common.eclass
+++ b/eclass/texlive-common.eclass
@@ -64,6 +64,7 @@ texlive-common_is_file_present_in_texmf() {
if [[ -d texmf-dist ]]; then
find texmf-dist -name ${1} -exec touch ${mark} {} + || die
fi
+ [ -f "${mark}" ]
}
# @FUNCTION: texlive-common_do_symlinks