]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
QA: Fix libs-location check.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 14 Feb 2010 15:07:58 +0000 (16:07 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 14 Feb 2010 15:07:58 +0000 (16:07 +0100)
Was searching in the wrong directory.

tools/quality-agent.d/003-libs-location

index 78b72a0429100556472694a6b4a027949a51c966..88947a69c2004b0a3e84bc0f907a3bae02fd8e42 100755 (executable)
@@ -11,7 +11,7 @@ for lib in $(find ${BUILDROOT}/lib -type f -name "lib*.so.*"); do
        lib=${lib##*/}
        lib=${lib%%.so*}
 
-       if [ ! -e "/usr/lib/${lib}.so" ]; then
+       if [ ! -e "${BUILDROOT}/usr/lib/${lib}.so" ]; then
                failed=1
                log "  /usr/lib/${lib}.so is missing"
        fi