diff options
author | 2015-06-12 10:34:19 +0000 | |
---|---|---|
committer | 2015-06-12 10:34:19 +0000 | |
commit | 94230be4339511f2aa2f7247a9f5f8a4b5acd518 (patch) | |
tree | edd30f3a77b8f53ab93e2d3b6c2f2a7d16851ec7 /metadata | |
parent | Version bump. (diff) | |
download | gentoo-2-94230be4339511f2aa2f7247a9f5f8a4b5acd518.tar.gz gentoo-2-94230be4339511f2aa2f7247a9f5f8a4b5acd518.tar.bz2 gentoo-2-94230be4339511f2aa2f7247a9f5f8a4b5acd518.zip |
Handle packages without /usr/share/doc gracefully.
Diffstat (limited to 'metadata')
-rw-r--r-- | metadata/install-qa-check.d/60gtk-doc-paths | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/metadata/install-qa-check.d/60gtk-doc-paths b/metadata/install-qa-check.d/60gtk-doc-paths index 81730d1b8deb..866e871c221a 100644 --- a/metadata/install-qa-check.d/60gtk-doc-paths +++ b/metadata/install-qa-check.d/60gtk-doc-paths @@ -5,10 +5,12 @@ # Maintainer: GNOME team <gnome@gentoo.org> 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 |