From dccaffe8d8a31abd1473695366e86c8553f16488 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Sun, 27 Jan 2002 23:49:40 +0000 Subject: [PATCH] Further cygwin installperl tweak from Gerrit P. Haase. p4raw-id: //depot/perl@14456 --- installperl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installperl b/installperl index c4cab78..6b702bd 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" -- 2.7.4