summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2024-02-29 22:12:21 +0100
committerFlorian Schmaus <flow@gentoo.org>2024-02-29 22:12:21 +0100
commit9f22daf0f154a07429fbbba80bd0f2bb2234fb9d (patch)
tree9a124b8bfa3331c7b3ce2e8abd0860afb5cc9bcd
parenteclass: incorporate ML feedback (diff)
downloadtex-overlay-9f22daf0f154a07429fbbba80bd0f2bb2234fb9d.tar.gz
tex-overlay-9f22daf0f154a07429fbbba80bd0f2bb2234fb9d.tar.bz2
tex-overlay-9f22daf0f154a07429fbbba80bd0f2bb2234fb9d.zip
texlive-common.eclass: incorporate ML feedback, part 2
Signed-off-by: Florian Schmaus <flow@gentoo.org>
-rw-r--r--eclass/texlive-common.eclass4
1 files 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"