From: Michael Tremer Date: Wed, 27 Jan 2010 14:49:14 +0000 (+0100) Subject: QA: Remove info files if they were installed to a wrong destination, too. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d99b768382f669c09ae204822d495f2a56e89eb;p=ipfire-3.x.git QA: Remove info files if they were installed to a wrong destination, too. --- diff --git a/tools/quality-agent.d/001-remove-info-files b/tools/quality-agent.d/001-remove-info-files index 9ff9174a5..9b8db23d6 100755 --- a/tools/quality-agent.d/001-remove-info-files +++ b/tools/quality-agent.d/001-remove-info-files @@ -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 $?