From: Richard Levitte Date: Tue, 13 Mar 2018 18:38:04 +0000 (+0100) Subject: Remove debugging prints from util/add-depends.pl X-Git-Tag: OpenSSL_1_1_1-pre3~107 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4ba5ce651790264cdd0e1af3564cf68f8be9ac81;p=oweals%2Fopenssl.git Remove debugging prints from util/add-depends.pl Reviewed-by: Andy Polyakov (Merged from https://github.com/openssl/openssl/pull/5608) --- diff --git a/util/add-depends.pl b/util/add-depends.pl index a7b07b64ac..9a57da23a2 100644 --- a/util/add-depends.pl +++ b/util/add-depends.pl @@ -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 () {