In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/9fa5aa9143471cda101c2ac9e87f7bf90ccd0b36?hp=e075ae47340a787b6715a9f44a3b52f32267fc45>

- Log -----------------------------------------------------------------
commit 9fa5aa9143471cda101c2ac9e87f7bf90ccd0b36
Author: Craig A. Berry <craigbe...@mac.com>
Date:   Sun Sep 21 17:36:27 2014 -0500

    Fix distclean for "pm_to_blib directly" extensions.
    
    The values of the %pm hash already have ../../ prepended, so we
    were trying to remove, for example, ../../../../lib/Exporter.pm
    instead of ../../lib/Exporter.pm.
    
    This fixes [perl #122820] wherein it was reported that a distclean
    make left some build products under lib/.
-----------------------------------------------------------------------

Summary of changes:
 make_ext.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/make_ext.pl b/make_ext.pl
index f19bf18..b855c63 100644
--- a/make_ext.pl
+++ b/make_ext.pl
@@ -719,7 +719,7 @@ sub just_pm_to_blib {
             # (which it has to deal with, as cpan/foo/bar creates
             # lib/auto/foo/bar, but the EU::MM rule will only
             # rmdir lib/auto/foo/bar, leaving lib/auto/foo
-            _unlink("../../$_")
+            _unlink($_)
                 foreach sort values %pm;
         }
     }

--
Perl5 Master Repository

Reply via email to