]>
Commit | Line | Data |
---|---|---|
44fd543e MT |
1 | commit da1de278eca7d6663cce89f7c1ad2a312fda8abb |
2 | Author: Michael Tremer <michael.tremer@ipfire.org> | |
3 | Date: Sun Mar 11 15:03:21 2012 +0100 | |
4 | ||
5 | QA: libs-location: Don't search in the deep. | |
6 | ||
7 | diff --git a/tools/quality-agent.d/003-libs-location b/tools/quality-agent.d/003-libs-location | |
8 | index 4c2e8ba..479f170 100755 | |
9 | --- a/tools/quality-agent.d/003-libs-location | |
10 | +++ b/tools/quality-agent.d/003-libs-location | |
11 | @@ -25,7 +25,7 @@ function check() { | |
12 | local failed=0 | |
13 | local found | |
14 | ||
15 | - for lib in $(find ${BUILDROOT}/{,usr/}${libdir} -type f -name "lib*.so.*" 2>/dev/null); do | |
16 | + for lib in $(find ${BUILDROOT}/{,usr/}${libdir} -maxdepth 1 -type f -name "lib*.so.*" 2>/dev/null); do | |
17 | lib=${lib##*/} | |
18 | lib=${lib%%.so*} | |
19 |