Skip to content

Commit

Permalink
gnuconfig.eclass: fix eend w/o ebegin
Browse files Browse the repository at this point in the history
eend should be preceded by an begin call.

Closes: https://bugs.gentoo.org/838859
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Apr 17, 2022
1 parent 0268560 commit a1a498f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions eclass/gnuconfig.eclass
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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 ..."
Expand Down

0 comments on commit a1a498f

Please sign in to comment.