]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
QA: Fix check for sonames.
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 6 Apr 2010 18:29:31 +0000 (20:29 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 6 Apr 2010 18:29:31 +0000 (20:29 +0200)
Do not check files that are not a lib, actually.

tools/quality-agent.d/050-libs-soname

index e4f514c874ca956ae208c4889116942057ec7090..b0b4aba1ae8b7db4c345b741dc1d121767ab0f6f 100755 (executable)
@@ -10,6 +10,10 @@ check() {
        local file
        local soname
        for file in $(find_elf_files ${LIBARY_PATHS}); do
+               if ! grep -q "\.so" <<<${file}; then
+                       continue
+               fi
+
                if ! is_shared_object ${file}; then
                        continue
                fi