projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
535fa49
)
Use $^O.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Mon, 6 Mar 2000 21:23:27 +0000
(21:23 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Mon, 6 Mar 2000 21:23:27 +0000
(21:23 +0000)
p4raw-id: //depot/cfgperl@5587
installperl
patch
|
blob
|
history
diff --git
a/installperl
b/installperl
index
f6e45f5
..
cd3e0a3
100755
(executable)
--- a/
installperl
+++ b/
installperl
@@
-375,7
+375,7
@@
if (! $versiononly) {
if (! $versiononly) {
safe_unlink("$installscript/pstruct$scr_ext");
- if ($
osname eq 'dos' or $Is_VMS or $osname
eq 'transit') {
+ 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 {