public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Torsten Veller (tove)" <tove@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in eclass: perl-module.eclass
Date: Thu, 26 Mar 2009 17:40:23 +0000	[thread overview]
Message-ID: <E1LmtZ1-0003tT-G1@stork.gentoo.org> (raw)

tove        09/03/26 17:40:23

  Modified:             perl-module.eclass
  Log:
  Fix quoting of pm_echovar (#263671)

Revision  Changes    Path
1.115                eclass/perl-module.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/perl-module.eclass?rev=1.115&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/perl-module.eclass?rev=1.115&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/perl-module.eclass?r1=1.114&r2=1.115

Index: perl-module.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v
retrieving revision 1.114
retrieving revision 1.115
diff -u -r1.114 -r1.115
--- perl-module.eclass	11 Mar 2009 06:36:45 -0000	1.114
+++ perl-module.eclass	26 Mar 2009 17:40:23 -0000	1.115
@@ -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.114 2009/03/11 06:36:45 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.115 2009/03/26 17:40:23 tove Exp $
 #
 # Author: Seemant Kulleen <seemant@gentoo.org>
 
@@ -89,7 +89,7 @@
 			--create_packlist=0 \
 			--extra_linker_flags="${LDFLAGS}" \
 			${myconf} \
-			<<< ${pm_echovar} \
+			<<< "${pm_echovar}" \
 				|| die "Unable to build! (are you using USE=\"build\"?)"
 	elif [[ -f Makefile.PL ]] ; then
 		einfo "Using ExtUtils::MakeMaker"
@@ -99,7 +99,7 @@
 			INSTALLMAN3DIR='none' \
 			DESTDIR="${D}" \
 			${myconf} \
-			<<< ${pm_echovar} \
+			<<< "${pm_echovar}" \
 				|| die "Unable to build! (are you using USE=\"build\"?)"
 	fi
 	if [[ ! -f Build.PL && ! -f Makefile.PL ]] ; then
@@ -155,9 +155,11 @@
 			|| die "emake ${myinst} ${mytargets} failed"
 	fi
 
-#	einfo "Cleaning out stray man files"
-	find "${D}" -type f -name "*.3pm" -delete
-	find "${D}"/usr/share/man -depth -type d -empty -delete 2>/dev/null
+	if [[ -d "${D}"/usr/share/man ]] ; then
+#		einfo "Cleaning out stray man files"
+		find "${D}"/usr/share/man -type f -name "*.3pm" -delete
+		find "${D}"/usr/share/man -depth -type d -empty -delete
+	fi
 
 	fixlocalpod
 
@@ -165,9 +167,11 @@
 		[[ -s "${f}" ]] && dodoc ${f}
 	done
 
-	find "${D}/${VENDOR_LIB}" -type f -a \( -name .packlist \
-		-o \( -name '*.bs' -a -empty \) \) -delete
-	find "${D}/${VENDOR_LIB}" -depth -mindepth 1 -type d -empty -delete
+	if [[ -d "${D}/${VENDOR_LIB}" ]] ; then
+		find "${D}/${VENDOR_LIB}" -type f -a \( -name .packlist \
+			-o \( -name '*.bs' -a -empty \) \) -delete
+		find "${D}/${VENDOR_LIB}" -depth -mindepth 1 -type d -empty -delete
+	fi
 
 	find "${D}" -type f -not -name '*.so' -print0 | while read -rd '' f ; do
 		if file "${f}" | grep -q -i " text" ; then






             reply	other threads:[~2009-03-26 17:40 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-26 17:40 Torsten Veller (tove) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-11-01 22:08 [gentoo-commits] gentoo-x86 commit in eclass: perl-module.eclass Patrice Clement (monsieurp)
2014-03-30 19:25 Mikle Kolyada (zlogene)
2011-08-09 11:48 Torsten Veller (tove)
2011-01-30  8:18 Torsten Veller (tove)
2011-01-23 22:12 Robin H. Johnson (robbat2)
2011-01-12 15:44 Torsten Veller (tove)
2010-07-15 11:44 Torsten Veller (tove)
2010-06-16  8:54 Torsten Veller (tove)
2010-02-03  0:20 Hanno Boeck (hanno)
2010-01-13 15:15 Torsten Veller (tove)
2009-11-24  9:16 Torsten Veller (tove)
2009-11-14  8:58 Torsten Veller (tove)
2009-11-10 12:53 Torsten Veller (tove)
2009-09-27  7:00 Torsten Veller (tove)
2009-03-29 17:32 Torsten Veller (tove)
2009-03-11  6:36 Torsten Veller (tove)
2009-03-06 11:42 Torsten Veller (tove)
2008-09-30  8:28 Robin H. Johnson (robbat2)
2008-02-06  2:39 Robin H. Johnson (robbat2)
2007-10-17  8:01 Robin H. Johnson (robbat2)
2007-10-17  7:49 Robin H. Johnson (robbat2)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1LmtZ1-0003tT-G1@stork.gentoo.org \
    --to=tove@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox