[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    [gentoo-dev] [PATCH] apache-2.eclass: remove eend with no ebegin
From:       Thomas Bracht Laumann Jespersen <t () laumann ! xyz>
Date:       2022-04-29 12:54:29
Message-ID: 20220429125429.10743-1-t () laumann ! xyz
[Download RAW message or body]

Found by scanning for eclasses with 'eend' but no occurrences of
'ebegin'. The following QA notice was also generated when installing
www-servers/apache:

    * QA Notice: eend called without preceding ebegin (phase: install)

Fix by just removing the line.

Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz>
---
 eclass/apache-2.eclass | 1 -
 1 file changed, 1 deletion(-)

diff --git a/eclass/apache-2.eclass b/eclass/apache-2.eclass
index 2197b3d84cd..f59030f926f 100644
--- a/eclass/apache-2.eclass
+++ b/eclass/apache-2.eclass
@@ -650,7 +650,6 @@ apache-2_src_install() {
 	mv -f "${ED%/}/var/www/localhost/icons" \
 		"${ED%/}/usr/share/apache2/icons" || die
 	rm -rf "${ED%/}/var/www/localhost/" || die
-	eend $?
 
 	# set some sane permissions for suexec
 	if use suexec ; then
-- 
2.35.1


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic