summaryrefslogtreecommitdiffstats
path: root/util/add-depends.pl
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2018-03-13 19:38:04 +0100
committerRichard Levitte <levitte@openssl.org>2018-03-13 22:18:10 +0100
commit4ba5ce651790264cdd0e1af3564cf68f8be9ac81 (patch)
tree44484cc051096355d138513d19441a9bd8d64b7c /util/add-depends.pl
parentebea0f3014c5f19573afc7a8746278b557e5a1f5 (diff)
Remove debugging prints from util/add-depends.pl
Reviewed-by: Andy Polyakov <appro@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5608)
Diffstat (limited to 'util/add-depends.pl')
-rw-r--r--util/add-depends.pl4
1 files changed, 1 insertions, 3 deletions
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 (<IBF>) {