From: Yitzchak Scott-Thoennes Date: Fri, 13 May 2005 06:15:45 +0000 (-0700) Subject: change to quiet cygwin's perlld X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=53f5e3f038d2d502e113c7533e1aa8213a6bda1c;p=p5sagit%2Fp5-mst-13.2.git change to quiet cygwin's perlld Message-ID: <20050513131545.GB4024@efn.org> p4raw-id: //depot/perl@24461 --- diff --git a/cygwin/perlld.in b/cygwin/perlld.in index 0e30c39..871f108 100644 --- a/cygwin/perlld.in +++ b/cygwin/perlld.in @@ -48,10 +48,10 @@ if ($args !~ /\-o (\S+)/) { if ($dllname =~ /\./) { $libname =$`; } else { $libname =$dllname; }; my $v_e_r_s = '@VERSION@'; $v_e_r_s =~ tr/./_/; - if ( $dllname =~ /libperl.*/) { + if ( $dllname =~ /libperl.*/) { $dllname ="cygperl$v_e_r_s.dll"; } else { - $dllname ="$libname.dll"; + $dllname ="$libname.dll"; } $libname ="lib$libname" unless ($libname =~ /^lib/); print DEBUGFILE "dll name: $dllname\nimport library: $libname\npath: $path\n" if $DEBUG; @@ -77,9 +77,9 @@ if ($args !~ /\-o (\S+)/) { close DEBUGFILE if $DEBUG; #--------------------------------------------------------------------------- -sub shellexec{ - my $command =shift; - print $command; +sub shellexec { + my $command = shift; + print STDERR $command; print DEBUGFILE $command if $DEBUG; system($command) == 0 or die "perlld: *** system() failed to execute\n$command\n";