Remove debugging prints from util/add-depends.pl

Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5608)
This commit is contained in:
Richard Levitte 2018-03-13 19:38:04 +01:00
parent ebea0f3014
commit 4ba5ce6517

View File

@ -15,13 +15,11 @@ my $buildfile = $config{build_file};
my $buildfile_new = "$buildfile.$$";
my $depext = $target{dep_extension} || ".d";
my @deps =
grep { print STDERR "$_ exists: ", -f $_ ? "yes" : "no", "\n"; -f $_ }
grep { -f $_ }
map { (my $x = $_) =~ s|\.o$|$depext|; $x; }
grep { $unified_info{sources}->{$_}->[0] =~ /\.cc?$/ }
keys %{$unified_info{sources}};
print STDERR "\@deps = ( ", join(", ", @deps), " )\n";
open IBF, $buildfile or die "Trying to read $buildfile: $!\n";
open OBF, '>', $buildfile_new or die "Trying to write $buildfile_new: $!\n";
while (<IBF>) {