diff options
author | Guillaume Rousse <guillomovitch@mandriva.org> | 2009-09-25 20:55:07 +0000 |
---|---|---|
committer | Guillaume Rousse <guillomovitch@mandriva.org> | 2009-09-25 20:55:07 +0000 |
commit | cfc21abcdc1d6f36d3efa898304f1227c9e85ccb (patch) | |
tree | 79c8086e31aceb6db45236ef949d89ef55be1d74 /strip_and_check_elf_files | |
parent | 7a2720757469011de00c8bc36958fc072ccb0e16 (diff) | |
download | spec-helper-cfc21abcdc1d6f36d3efa898304f1227c9e85ccb.tar spec-helper-cfc21abcdc1d6f36d3efa898304f1227c9e85ccb.tar.gz spec-helper-cfc21abcdc1d6f36d3efa898304f1227c9e85ccb.tar.bz2 spec-helper-cfc21abcdc1d6f36d3efa898304f1227c9e85ccb.tar.xz spec-helper-cfc21abcdc1d6f36d3efa898304f1227c9e85ccb.zip |
wrap long lines
Diffstat (limited to 'strip_and_check_elf_files')
-rwxr-xr-x | strip_and_check_elf_files | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/strip_and_check_elf_files b/strip_and_check_elf_files index 4cc7e23..4cebbe9 100755 --- a/strip_and_check_elf_files +++ b/strip_and_check_elf_files @@ -44,12 +44,16 @@ sub check_missing_or_unused_libs { my (undef, undef, @l) = `ldd -u -r $f 2>/dev/null`; @l or next; my $f_ = substr($f, length($buildroot)); - print STDERR "Warning: unused libraries in $f_: ", join(' ', map { basename($_) } @l), "\n"; + print STDERR + "Warning: unused libraries in $f_: ", + join(' ', map { basename($_) } @l), "\n"; } foreach my $f (@shared_libs) { my @l = `ldd -r $f 2>&1 >/dev/null` or next; my $f_ = substr($f, length($buildroot)); - print STDERR "Warning: undefined symbols in $f_: ", join(' ', map { /undefined symbol: (\S+)/ ? $1 : () } @l), "\n"; + print STDERR + "Warning: undefined symbols in $f_: ", + join(' ', map { /undefined symbol: (\S+)/ ? $1 : () } @l), "\n"; } } |