X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=installperl;h=09ffc806dd53505e429427be0c2f49fd958d780c;hb=83bb2f05018534d7d0cc69340baccd0359dfcdf2;hp=cd3e0a374349430fcbe186f0c8222492db224333;hpb=4a208d7164dc2a4fd872017cc0e9134037ebce1a;p=p5sagit%2Fp5-mst-13.2.git diff --git a/installperl b/installperl index cd3e0a3..09ffc80 100755 --- a/installperl +++ b/installperl @@ -254,9 +254,9 @@ else { mkpath("$installarchlib/CORE", 1, 0777); my @corefiles; if ($Is_VMS) { # We did core file selection during build - my $coredir = "lib/$Config{'arch'}/$ver"; + my $coredir = "lib/$Config{archname}/$ver/CORE"; $coredir =~ tr/./_/; - @corefiles = map { s|^$coredir/||i; } <$coredir/*.*>; + map { s|^$coredir/||i; } @corefiles = <$coredir/*.*>; } else { # [als] hard-coded 'libperl' name... not good! @@ -377,7 +377,6 @@ if (! $versiononly) { safe_unlink("$installscript/pstruct$scr_ext"); if ($^O eq 'dos' or $Is_VMS or $^O eq 'transit') { copy("$installscript/c2ph$scr_ext", "$installscript/pstruct$scr_ext"); - chmod(0755, "$installscript/pstruct$scr_ext"); } else { link("$installscript/c2ph$scr_ext", "$installscript/pstruct$scr_ext"); }