diff options
Diffstat (limited to 'installperl')
-rwxr-xr-x | installperl | 2 |
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" |