Fix installation of 'autodie'
authorJerry D. Hedden <jdhedden@cpan.org>
Tue, 3 Mar 2009 20:03:55 +0000 (15:03 -0500)
committerDavid Mitchell <davem@iabyn.com>
Wed, 15 Apr 2009 18:55:41 +0000 (19:55 +0100)
(cherry picked from commit cad0fd6e0f3f4a76a732131ae043d68c84e2c2fd)

installperl

index 17de41d..62487a8 100755 (executable)
@@ -759,7 +759,7 @@ sub installlib {
     return if $name eq 'ExtUtils/XSSymSet.pm' and !$Is_VMS;
 
     my $installlib = $installprivlib;
-    if ($dir =~ /^auto/ ||
+    if ($dir =~ /^auto\// ||
          ($name =~ /^(.*)\.(?:pm|pod)$/ && $archpms{$1}) ||
          ($name =~ /^(.*)\.(?:h|lib)$/i && ($Is_W32 || $Is_NetWare)) ||
          $name=~/^Config_(heavy\|git)\.pl\z/