On Thu, 2024-02-29 at 14:38 +0100, Florian Schmaus wrote:
> Signed-off-by: Florian Schmaus <f...@gentoo.org>
> ---
>  eclass/texlive-common.eclass | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/eclass/texlive-common.eclass b/eclass/texlive-common.eclass
> index 96e962cb8027..85cdb8ff204e 100644
> --- a/eclass/texlive-common.eclass
> +++ b/eclass/texlive-common.eclass
> @@ -199,7 +199,8 @@ efmtutil-sys() {
>       if has_version 'app-text/texlive-core' ; then
>               if [[ -z ${ROOT} && -x "${EPREFIX}"/usr/bin/fmtutil-sys ]] ; 
> then
>                       einfo "Rebuilding formats"
> -                     "${EPREFIX}"/usr/bin/fmtutil-sys --all &> /dev/null || 
> die
> +                     "${EPREFIX}"/usr/bin/fmtutil-sys --all &> /dev/null \
> +                             || die -n "fmtutil-sys returned non-zero exit 
> status ${res}"

Put '||' at end of the line, then you won't need the redundant
backslash.

>               else
>                       ewarn "Cannot run fmtutil-sys for some reason."
>                       ewarn "Your formats might be inconsistent with your 
> installed ${PN} version"

-- 
Best regards,
Michał Górny

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to