From: Fabian Groffen Date: Mon, 14 Sep 2009 08:22:09 +0000 (-0000) Subject: kill some false positives in documentation X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=3da6469fa3d8d838b4e335fb4fce8d6061c711f3;p=portage.git kill some false positives in documentation svn path=/main/branches/prefix/; revision=14263 --- diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 4e0c57b6f..6b938a5d1 100644 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -483,6 +483,8 @@ install_qa_check() { line=${f##*:} # shebang always appears on the first line ;) [[ ${pos} != 1 ]] && continue + # remove some paths that often contain false positives + [[ ${fn} == "${ED}usr/share/doc/"* ]] && continue line=( ${line#"#!"} ) [[ ${WHITELIST} == *" ${line[0]} "* ]] && continue if [[ ${WARNLIST} == *" ${line[0]} "* ]] ; then