diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2016-10-01 20:10:53 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2016-10-01 20:11:28 +0200 |
commit | 833523c3ea8634365a0c32f0033f13bdc54c30af (patch) | |
tree | 1019c585f182fcec828f6b4184445e38de461762 /www-apache/mod_perl | |
parent | x11-libs/libxcb: Lock subslot to 1.12 for now (diff) | |
download | gentoo-833523c3ea8634365a0c32f0033f13bdc54c30af.tar.gz gentoo-833523c3ea8634365a0c32f0033f13bdc54c30af.tar.bz2 gentoo-833523c3ea8634365a0c32f0033f13bdc54c30af.zip |
www-apache/mod_perl: QA fixes suggested by soap
Package-Manager: portage-2.3.1
Diffstat (limited to 'www-apache/mod_perl')
-rw-r--r-- | www-apache/mod_perl/mod_perl-2.0.10_rc1.ebuild | 7 |
1 files 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 3de17184b961..16c96d6e7751 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 |