diff options
Diffstat (limited to 'installperl')
-rwxr-xr-x | installperl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/installperl b/installperl index 656943c787..f6e45f59dc 100755 --- a/installperl +++ b/installperl @@ -375,8 +375,9 @@ if (! $versiononly) { if (! $versiononly) { safe_unlink("$installscript/pstruct$scr_ext"); - if ($^O eq 'dos' or $Is_VMS) { + if ($osname eq 'dos' or $Is_VMS or $osname 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"); } |