]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
QA: Fix directory layout detection.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 2 May 2010 20:55:15 +0000 (22:55 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 2 May 2010 20:55:15 +0000 (22:55 +0200)
tools/quality-agent.d/095-directory-layout

index c18fd444369051fc3f631db92c1ea631daad5f37..fe0e47f2916bcb2b78c1b5488060d8b0282fe932 100755 (executable)
@@ -11,7 +11,7 @@ function check() {
 
        local dir
        for dir in ${DIRS}; do
-               if [ -d "${dir}" ]; then
+               if [ -d "${BUILDROOT}${dir}" ]; then
                        log_error "Bad directory: ${dir}"
                        failed=1
                fi