In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/914d9b2e2d3693a8dcc1cd21e5c25efc641f76b6?hp=9afc198b1f7ba77013e0892ee06251c347ccb45a>

- Log -----------------------------------------------------------------
commit 914d9b2e2d3693a8dcc1cd21e5c25efc641f76b6
Author: Nicholas Clark <[email protected]>
Date:   Fri Sep 25 19:41:14 2009 +0100

    Stop empty top-level directories in ext/ being treated as old-style 
extensions.
    
    This is a work-around to cope with smokers that are not deleting directories
    that have been moved.
-----------------------------------------------------------------------

Summary of changes:
 make_ext.pl |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/make_ext.pl b/make_ext.pl
index cfb3cd7..2ff74d8 100644
--- a/make_ext.pl
+++ b/make_ext.pl
@@ -234,7 +234,10 @@ foreach my $spec (@extspec)  {
     my $mname = $spec;
     $mname =~ s!/!::!g;
     my $ext_pathname;
-    if (-d "ext/$spec") {
+    if (-d "ext/$spec"
+       # Temporary hack to cope with smokers that are not clearing directories:
+       && $spec =~ m!/!
+       ) {
        # Old style ext/Data/Dumper/
        $ext_pathname = "ext/$spec";
     } else {

--
Perl5 Master Repository

Reply via email to