summaryrefslogtreecommitdiff
path: root/installperl
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-01-27 23:49:40 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-01-27 23:49:40 +0000
commitdccaffe8d8a31abd1473695366e86c8553f16488 (patch)
treed592a440dada1110185d53d93cd10c73f8cef5ba /installperl
parent047e14fb14c84dbcdfa216825b9c92a8b1e79b9f (diff)
downloadperl-dccaffe8d8a31abd1473695366e86c8553f16488.tar.gz
Further cygwin installperl tweak from Gerrit P. Haase.
p4raw-id: //depot/perl@14456
Diffstat (limited to 'installperl')
-rwxr-xr-xinstallperl2
1 files changed, 1 insertions, 1 deletions
diff --git a/installperl b/installperl
index c4cab78e0c..6b702bd221 100755
--- a/installperl
+++ b/installperl
@@ -245,7 +245,7 @@ if (($Is_W32 and ! $Is_NetWare) or $Is_Cygwin) {
chmod(0755, "$installbin/$_");
};
{
- open (LD2, "$installbin/ld2");
+ open (LD2, ">$installbin/ld2");
print LD2 "#!/bin/sh\n#\n# ld wrapper, passes all args to perlld;\n#\n"
. "for trythis in $installbin/perl\ndo\n if [ -x \$trythis ]\n"
. " then\n \$trythis $installbin/perlld \"\$\@\"\n"