summaryrefslogtreecommitdiffstats
path: root/find-broken-perl-packages.sh
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-06-06 21:27:30 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-06-06 21:27:30 +0200
commite3111b48ec705c37d19e221c27d78b8febfc402c (patch)
treefbecf0570c2e291050cb8cf637f4c14e0e00c084 /find-broken-perl-packages.sh
parentc31038c78c5483ea8f64f68f729654bfc9a3bf54 (diff)
downloadbin-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-xfind-broken-perl-packages.sh3
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
}