remove redundant archcore directory prefix in installperl
Charles Bailey [Wed, 9 Feb 2000 10:58:11 +0000 (10:58 +0000)]
p4raw-id: //depot/vmsperl@5053

installperl

index 7c0bed7..00f3df1 100755 (executable)
@@ -239,7 +239,7 @@ my @corefiles;
 if ($Is_VMS) {  # We did core file selection during build
     my $coredir = "lib/$Config{'arch'}/$ver";
     $coredir =~ tr/./_/;
-    @corefiles = <$coredir/*.*>;
+    @corefiles = map { s|^$coredir/||i; } <$coredir/*.*>;
 }
 else {
     # [als] hard-coded 'libperl' name... not good!