find2perl should not default to -print when -eval is specified.
Rafael Garcia-Suarez [Fri, 9 Apr 2004 07:04:48 +0000 (07:04 +0000)]
Noticed by David Dyck.

p4raw-id: //depot/perl@22681

x2p/find2perl.PL

index 67022ee..b99bb49 100644 (file)
@@ -215,6 +215,7 @@ while (@ARGV) {
         my $prog = shift;
         $prog =~ s/'/\\'/g;
         $out .= tab . "eval {$prog}";
+       $print_needed = 0;
     } elsif ($_ eq 'depth') {
         $find = 'finddepth';
         next;