commit:     833523c3ea8634365a0c32f0033f13bdc54c30af
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  1 18:10:53 2016 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Oct  1 18:11:28 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=833523c3

www-apache/mod_perl: QA fixes suggested by soap

Package-Manager: portage-2.3.1

 www-apache/mod_perl/mod_perl-2.0.10_rc1.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/www-apache/mod_perl/mod_perl-2.0.10_rc1.ebuild 
b/www-apache/mod_perl/mod_perl-2.0.10_rc1.ebuild
index 3de1718..16c96d6 100644
--- a/www-apache/mod_perl/mod_perl-2.0.10_rc1.ebuild
+++ b/www-apache/mod_perl/mod_perl-2.0.10_rc1.ebuild
@@ -69,7 +69,7 @@ src_prepare() {
        perl-module_src_prepare
 
        # chainsaw unbundling
-       rm -rf Apache-{Test,Reload,SizeLimit}/ lib/Bundle/
+       rm -rf Apache-{Test,Reload,SizeLimit}/ lib/Bundle/ || die
 }
 
 src_configure() {
@@ -92,7 +92,7 @@ src_test() {
 
        # IF YOU SUDO TO EMERGE AND HAVE !env_reset set testing will fail!
        if [[ "$(id -u)" == "0" ]]; then
-               chown nobody:nobody "${WORKDIR}" "${T}"
+               chown nobody:nobody "${WORKDIR}" "${T}" || die
        fi
 
        # We force verbose tests for now to get meaningful bug reports.
@@ -124,9 +124,10 @@ src_install() {
                -e "s,${S}\(/[^[:space:]\"\']\+\)\?,/,g" \
                "${D}/${VENDOR_ARCH}/Apache2/BuildConfig.pm" || die
 
+       local fname
        for fname in $(find "${D}" -type f -not -name '*.so'); do
                grep -q "\(${D}\|${S}\)" "${fname}" && ewarn "QA: File contains 
a temporary path ${fname}"
-               sed -i -e "s:\(${D}\|${S}\):/:g" ${fname}
+               sed -i -e "s:\(${D}\|${S}\):/:g" ${fname} || die
        done
 
        perl_remove_temppath

Reply via email to