commit:     128c22c1bff18213f9f8f70d7a0263585928ea1b
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 12 17:03:17 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Dec 12 17:03:17 2024 +0000
URL:        https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=128c22c1

texlive-module.eclass: sync with ::gentoo

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 eclass/texlive-module.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass
index 4ba507d..ebd65e3 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 : $? ))"; }
+                       _sgrep() { grep "$@"; return "$(( $? <= 1 ? 0 : $? ))"; 
}
                        ebegin "Installing man pages"
                        find texmf-dist/doc/man -type f -name '*.[0-9n]' -print 
|
-                               sgrep -v "${grep_expressions[@]}" |
+                               _sgrep -v "${grep_expressions[@]}" |
                                xargs -d '\n' --no-run-if-empty nonfatal doman
                        status=$(pipestatus -v)
                        eend $? || die "error installing man pages (PIPESTATUS: 
${status})"

Reply via email to