From a1a498f47f0568471f944df8a96732c4dd8f6287 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sat, 16 Apr 2022 07:26:42 +0100 Subject: gnuconfig.eclass: fix eend w/o ebegin eend should be preceded by an begin call. Closes: https://bugs.gentoo.org/838859 Signed-off-by: Sam James --- eclass/gnuconfig.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'eclass/gnuconfig.eclass') diff --git a/eclass/gnuconfig.eclass b/eclass/gnuconfig.eclass index 58bdcfd660a6..0791798632cd 100644 --- a/eclass/gnuconfig.eclass +++ b/eclass/gnuconfig.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: gnuconfig.eclass @@ -84,9 +84,9 @@ gnuconfig_do_update() { if [[ -n ${targetlist} ]] ; then for target in ${targetlist} ; do [[ -L ${target} ]] && rm -f "${target}" - einfo " Updating ${target/$startdir\//}" + ebegin " Updating ${target/$startdir\//}" cp -f "${configsubs_dir}/${file}" "${target}" - eend $? + eend $? || die done else ewarn " No ${file} found in ${startdir}, skipping ..." -- cgit v1.2.3-65-gdbad