diff options
author | Florian Pritz <bluewind@xinu.at> | 2016-06-06 21:27:30 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2016-06-06 21:27:30 +0200 |
commit | e3111b48ec705c37d19e221c27d78b8febfc402c (patch) | |
tree | fbecf0570c2e291050cb8cf637f4c14e0e00c084 /find-broken-perl-packages.sh | |
parent | c31038c78c5483ea8f64f68f729654bfc9a3bf54 (diff) | |
download | bin-e3111b48ec705c37d19e221c27d78b8febfc402c.tar.gz bin-e3111b48ec705c37d19e221c27d78b8febfc402c.tar.xz |
find-broken-perl-packages.sh: Detect some more binary modules
For some reasons this error doesn't seem to cause perl to exit 1 when
run within the script. Running perl -MFoo -e1 exists 1.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'find-broken-perl-packages.sh')
-rwxr-xr-x | find-broken-perl-packages.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/find-broken-perl-packages.sh b/find-broken-perl-packages.sh index c6ff501..faa2bb6 100755 --- a/find-broken-perl-packages.sh +++ b/find-broken-perl-packages.sh @@ -28,6 +28,9 @@ testmodule() { elif grep -q "Perl API version .* of .* does not match .*" <<< $output; then echo $file >> "$tmpdir/${prefix}raw.txt" echo "$module" >> "$tmpdir/${prefix}perl-modules.txt" + elif grep -q "loadable library and perl binaries are mismatched" <<< $output; then + echo $file >> "$tmpdir/${prefix}raw.txt" + echo "$module" >> "$tmpdir/${prefix}perl-modules.txt" fi } |