kill some false positives in documentation
authorFabian Groffen <grobian@gentoo.org>
Mon, 14 Sep 2009 08:22:09 +0000 (08:22 -0000)
committerFabian Groffen <grobian@gentoo.org>
Mon, 14 Sep 2009 08:22:09 +0000 (08:22 -0000)
svn path=/main/branches/prefix/; revision=14263

bin/misc-functions.sh

index 4e0c57b6f72c4f77024b6d13f0e248ce7184acc0..6b938a5d100a4f7fac2547b49eeb0670ca64b7af 100644 (file)
@@ -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