summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2024-12-13 11:03:20 +0100
committerFlorian Schmaus <flow@gentoo.org>2024-12-13 11:03:20 +0100
commit4eb6fc0c72e4b666ab1ad6334b81adc59f536639 (patch)
tree26f95b10544d3ec602428f9c064d416f917f00cf
parenttexlive-module.eclass: sync with ::gentoo (diff)
downloadtex-overlay-4eb6fc0c72e4b666ab1ad6334b81adc59f536639.tar.gz
tex-overlay-4eb6fc0c72e4b666ab1ad6334b81adc59f536639.tar.bz2
tex-overlay-4eb6fc0c72e4b666ab1ad6334b81adc59f536639.zip
texlive-module.eclass: sync with ::gentoo
Signed-off-by: Florian Schmaus <flow@gentoo.org>
-rw-r--r--eclass/texlive-module.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass
index ebd65e3..15dcdea 100644
--- a/eclass/texlive-module.eclass
+++ b/eclass/texlive-module.eclass
@@ -539,10 +539,10 @@ texlive-module_src_install() {
local status
# "success-status aware grep", returning exit status 0 instead of 1.
- _sgrep() { grep "$@"; return "$(( $? <= 1 ? 0 : $? ))"; }
+ _tl_sgrep() { grep "$@"; return "$(( $? <= 1 ? 0 : $? ))"; }
ebegin "Installing man pages"
find texmf-dist/doc/man -type f -name '*.[0-9n]' -print |
- _sgrep -v "${grep_expressions[@]}" |
+ _tl_sgrep -v "${grep_expressions[@]}" |
xargs -d '\n' --no-run-if-empty nonfatal doman
status=$(pipestatus -v)
eend $? || die "error installing man pages (PIPESTATUS: ${status})"