Gentoo Archives: gentoo-perl

From: antoine.raillon@××××××.net
To: gentoo-perl@l.g.o
Subject: [gentoo-perl] r39 - in trunk: bin extra-docs
Date: Thu, 02 Jun 2005 21:22:47
Message-Id: 20050602212138.293958280E7@gredin.dragou.net
Author: mcummings
Date: 2005-06-02 23:21:37 +0200 (Thu, 02 Jun 2005)
New Revision: 39

Modified:
   trunk/bin/g-cpan.pl
   trunk/extra-docs/Changes
Log:
bug 94850

Modified: trunk/bin/g-cpan.pl
===================================================================
--- trunk/bin/g-cpan.pl	2005-06-01 20:21:41 UTC (rev 38)
+++ trunk/bin/g-cpan.pl	2005-06-02 21:21:37 UTC (rev 39)
@@ -184,6 +184,7 @@
 
 foreach my $o_dir (@OVERLAYS) {
     # See if we can create a file
+    next if ($o_dir =~ m/^$/);
     if (open (TMP,">$o_dir/g-cpan-test") ) {
     	close(TMP);
 	unlink("$o_dir/g-cpan-test");

Modified: trunk/extra-docs/Changes
===================================================================
--- trunk/extra-docs/Changes	2005-06-01 20:21:41 UTC (rev 38)
+++ trunk/extra-docs/Changes	2005-06-02 21:21:37 UTC (rev 39)
@@ -1,3 +1,7 @@
+02/06/2005 - mcummings
+
+- Bug 94850 (http://bugs.gentoo.org/show_bug.cgi?id=94850) brought to light the interesting scenario of having PORTDIR_OVERLAY="${PORTDIR_OVERLAY} /some/path" in your make.conf - the result is that when we split on space, we get a null string as an overlay dir, which works since as root you can write to /perl-gcpan. 
+
 01/06/2005 - mcummings
 
 - Bumped version to 0.13.01 - basically, this is a maintenance update. The version bump was mandated because we needed to change the tarball name so that people would get the new version in their distfiles (otherwise portage thinks they already have a copy of g-cpan-0.13 and ignores that there's a newer version "upstream"). This will ensure folks get the changes made on 30/05/2005.


-- 
gentoo-perl@g.o mailing list