diff options
author | Sven Wegener <swegener@gentoo.org> | 2006-10-14 20:27:21 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2006-10-14 20:27:21 +0000 |
commit | 0372ecc500e416611bd0640c07dd9b4d5d18cafe (patch) | |
tree | c9159886d91bd1beb7685866a94dc0c00dece5fa /eclass/perl-module.eclass | |
parent | Mark 3.1.5-r2 stable on ia64 (diff) | |
download | gentoo-2-0372ecc500e416611bd0640c07dd9b4d5d18cafe.tar.gz gentoo-2-0372ecc500e416611bd0640c07dd9b4d5d18cafe.tar.bz2 gentoo-2-0372ecc500e416611bd0640c07dd9b4d5d18cafe.zip |
Apply whitespace checks from repoman to eclasses.
Diffstat (limited to 'eclass/perl-module.eclass')
-rw-r--r-- | eclass/perl-module.eclass | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass index c847cd50c039..1c946febf6d0 100644 --- a/eclass/perl-module.eclass +++ b/eclass/perl-module.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.102 2006/09/02 00:20:13 mcummings Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.103 2006/10/14 20:27:21 swegener Exp $ # # Author: Seemant Kulleen <seemant@gentoo.org> # Maintained by the Perl herd <perl@gentoo.org> @@ -171,7 +171,7 @@ perl-module_src_install() { rm -rf ${FILE} done find ${D}/usr/share/man -depth -type d 2>/dev/null | xargs -r rmdir 2>/dev/null - + fixlocalpod for FILE in `find ${D} -type f |grep -v '.so'`; do @@ -242,15 +242,15 @@ perlinfo() { VENDOR_ARCH=${installvendorarch} if [ "${PREFER_BUILDPL}" == "yes" ]; then - if [ ! -f ${S}/Makefile.PL ] || [ ${PN} == "module-build" ]; then - if [ -f ${S}/Build.PL ]; then - if [ ${PN} == "module-build" ]; then - BUILDER_VER="1" # A bootstrapping if you will - else - BUILDER_VER=`perl -MModule::Build -e 'print "$Module::Build::VERSION;"' ` + if [ ! -f ${S}/Makefile.PL ] || [ ${PN} == "module-build" ]; then + if [ -f ${S}/Build.PL ]; then + if [ ${PN} == "module-build" ]; then + BUILDER_VER="1" # A bootstrapping if you will + else + BUILDER_VER=`perl -MModule::Build -e 'print "$Module::Build::VERSION;"' ` + fi fi fi - fi fi if [ -f /usr/bin/perl ] @@ -284,16 +284,16 @@ updatepod() { if [ -d "${POD_DIR}" ] then for FILE in `find ${POD_DIR} -type f -name "*.pod.arch"`; do - cat ${FILE} >> ${ARCH_LIB}/perllocal.pod - rm -f ${FILE} + cat ${FILE} >> ${ARCH_LIB}/perllocal.pod + rm -f ${FILE} done for FILE in `find ${POD_DIR} -type f -name "*.pod.site"`; do - cat ${FILE} >> ${SITE_LIB}/perllocal.pod - rm -f ${FILE} + cat ${FILE} >> ${SITE_LIB}/perllocal.pod + rm -f ${FILE} done for FILE in `find ${POD_DIR} -type f -name "*.pod.vendor"`; do - cat ${FILE} >> ${VENDOR_LIB}/perllocal.pod - rm -f ${FILE} + cat ${FILE} >> ${VENDOR_LIB}/perllocal.pod + rm -f ${FILE} done fi } |