summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@pefoley.com>2016-01-15 23:35:28 -0500
committerMatúš Kukan <matus@libreoffice.org>2016-01-28 08:01:48 +0000
commit0ce412f309b551d72f80e12f6fc8a64b429ef339 (patch)
tree56c80c000090ba7bf6f2dbd2c4649e69e7d6dd68 /bin
parent696c9a90c42fabcdde342892073b1377e1249278 (diff)
modules-deps.pl cleanup
Change-Id: Ic450869c18991b9ed715bb31052dfb911fe3c789 Reviewed-on: https://gerrit.libreoffice.org/21508 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Matúš Kukan <matus@libreoffice.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/module-deps.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/module-deps.pl b/bin/module-deps.pl
index 8134dffb42b0..c742b713429f 100755
--- a/bin/module-deps.pl
+++ b/bin/module-deps.pl
@@ -222,7 +222,7 @@ sub collapse_lib_to_module($)
my %unknown_libs;
for my $lib_name (sort keys %{$tree}) {
my $result = $tree->{$lib_name};
- $unknown_libs{$lib_name} = 1 && next if (!grep {/$lib_name/} keys $l2m);
+ $unknown_libs{$lib_name} = 1 && next if (!grep {/$lib_name/} keys %$l2m);
# new collapsed name.
my $name = $l2m->{$lib_name};
@@ -295,7 +295,7 @@ sub prune_leaves($)
sub annotate_mergelibs($)
{
my $tree = shift;
- print STDERR "annotating mergelibs";
+ print STDERR "annotating mergelibs\n";
for my $name (keys %{$tree}) {
if (defined $merged_libs{$name}) {
$tree->{$name}->{merged} = 1;