mgorny 15/06/12 10:34:19 Modified: 60gtk-doc-paths Log: Handle packages without /usr/share/doc gracefully.
Revision Changes Path 1.2 metadata/install-qa-check.d/60gtk-doc-paths file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/metadata/install-qa-check.d/60gtk-doc-paths?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/metadata/install-qa-check.d/60gtk-doc-paths?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/metadata/install-qa-check.d/60gtk-doc-paths?r1=1.1&r2=1.2 Index: 60gtk-doc-paths =================================================================== RCS file: /var/cvsroot/gentoo-x86/metadata/install-qa-check.d/60gtk-doc-paths,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- 60gtk-doc-paths 9 Jun 2015 10:43:40 -0000 1.1 +++ 60gtk-doc-paths 12 Jun 2015 10:34:19 -0000 1.2 @@ -5,10 +5,12 @@ # Maintainer: GNOME team <[email protected]> gtk_doc_path_check() { + [[ -d ${ED}usr/share/doc ]] || return + local found=() f while read -d '' -r f; do found+=( "${f%/*}" ) - done < <(find "${ED}"usr/share/doc -name '*.devhelp*' -print0) + done < <(find "${ED}"usr/share/doc -name '*.devhelp*' -print0 || die) if [[ ${found[@]} ]]; then eqawarn
