[patch@31750] CPANPLUS extract.pm fixes for VMS.
authorJohn E. Malmberg <wb8tyw@qsl.net>
Fri, 31 Aug 2007 00:21:52 +0000 (19:21 -0500)
committerCraig A. Berry <craigberry@mac.com>
Fri, 31 Aug 2007 22:42:43 +0000 (22:42 +0000)
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <46D7A570.4050801@qsl.net>

catdir was used where catfile was meant.

p4raw-id: //depot/perl@31776

lib/CPANPLUS/Internals/Extract.pm

index 544d589..881ec7b 100644 (file)
@@ -183,7 +183,7 @@ sub _extract {
     #            @{$ae->files};
     
     for my $file ( @{$ae->files} ) { 
-        my $path = File::Spec->rel2abs( File::Spec->catdir($to, $file) );
+        my $path = File::Spec->rel2abs( File::Spec->catfile($to, $file) );
     
         $self->_mode_plus_w( file => $path );
     }