]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
QA: Remove info files if they were installed to a wrong destination, too.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 27 Jan 2010 14:49:14 +0000 (15:49 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 27 Jan 2010 14:49:14 +0000 (15:49 +0100)
tools/quality-agent.d/001-remove-info-files

index 9ff9174a52eaa8efe994ab62a47ace7c1f233e8f..9b8db23d63f29bbb227dfd8f5f1bc2712ec07760 100755 (executable)
@@ -4,7 +4,7 @@
 
 # Remove documentation files
 log "Removing documentation files..."
-for dir in ${BUILDROOT}/usr/share/{doc,info}; do
+for dir in ${BUILDROOT}/usr/{,share}/{doc,info}; do
        if [ -d "${dir}" ]; then
                log "  Removing: ${dir}"
                rm -rf ${dir} || exit $?