]> git.ipfire.org Git - pakfire.git/commitdiff
QA: libs-location: Don't search in the deep.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 11 Mar 2012 14:03:21 +0000 (15:03 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 11 Mar 2012 14:03:21 +0000 (15:03 +0100)
tools/quality-agent.d/003-libs-location

index 4c2e8ba1023327af7b4475fba630000fa012ae31..479f170843c26a9fc13a92072cbc97e77decd9ba 100755 (executable)
@@ -25,7 +25,7 @@ function check() {
        local failed=0
        local found
 
-       for lib in $(find ${BUILDROOT}/{,usr/}${libdir} -type f -name "lib*.so.*" 2>/dev/null); do
+       for lib in $(find ${BUILDROOT}/{,usr/}${libdir} -maxdepth 1 -type f -name "lib*.so.*" 2>/dev/null); do
                lib=${lib##*/}
                lib=${lib%%.so*}