From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 685AD158041 for ; Thu, 29 Feb 2024 21:12:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A00B0E29D1; Thu, 29 Feb 2024 21:12:27 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7D2EDE29D1 for ; Thu, 29 Feb 2024 21:12:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7B4D63430A6 for ; Thu, 29 Feb 2024 21:12:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DF25B14BE for ; Thu, 29 Feb 2024 21:12:24 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1709241141.9f22daf0f154a07429fbbba80bd0f2bb2234fb9d.flow@gentoo> Subject: [gentoo-commits] proj/tex-overlay:main commit in: eclass/ X-VCS-Repository: proj/tex-overlay X-VCS-Files: eclass/texlive-common.eclass X-VCS-Directories: eclass/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 9f22daf0f154a07429fbbba80bd0f2bb2234fb9d X-VCS-Branch: main Date: Thu, 29 Feb 2024 21:12:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fade5941-90e9-43f9-b1bb-42ccbdf6c888 X-Archives-Hash: 91d3546786575ee400d9ef90cdaf9ec2 commit: 9f22daf0f154a07429fbbba80bd0f2bb2234fb9d Author: Florian Schmaus gentoo org> AuthorDate: Thu Feb 29 21:12:21 2024 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Thu Feb 29 21:12:21 2024 +0000 URL: https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=9f22daf0 texlive-common.eclass: incorporate ML feedback, part 2 Signed-off-by: Florian Schmaus gentoo.org> eclass/texlive-common.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/texlive-common.eclass b/eclass/texlive-common.eclass index 852f762..1e5c8a5 100644 --- a/eclass/texlive-common.eclass +++ b/eclass/texlive-common.eclass @@ -179,7 +179,7 @@ etexmf-update() { if [[ -z ${ROOT} && -x "${EPREFIX}"/usr/sbin/texmf-update ]] ; then "${EPREFIX}"/usr/sbin/texmf-update local res="${?}" - if [[ "${?}" -ne 0 ]] && ver_test -ge 2023; then + if [[ "${res}" -ne 0 ]] && ver_test -ge 2023; then die -n "texmf-update returned non-zero exit status ${res}" fi else @@ -200,7 +200,7 @@ efmtutil-sys() { if [[ -z ${ROOT} && -x "${EPREFIX}"/usr/bin/fmtutil-sys ]] ; then einfo "Rebuilding formats" "${EPREFIX}"/usr/bin/fmtutil-sys --all &> /dev/null || - die -n "fmtutil-sys returned non-zero exit status ${res}" + die -n "fmtutil-sys returned non-zero exit status ${?}" else ewarn "Cannot run fmtutil-sys for some reason." ewarn "Your formats might be inconsistent with your installed ${PN} version"