summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-06-12 10:34:19 +0000
committerMichał Górny <mgorny@gentoo.org>2015-06-12 10:34:19 +0000
commitbf534c21394b1c285236da7ca2302da4584a50ea (patch)
treea700c49b9276709bc2f790b3b3f4e3679c53139e /metadata
parentVersion bump. (diff)
downloadhistorical-bf534c21394b1c285236da7ca2302da4584a50ea.tar.gz
historical-bf534c21394b1c285236da7ca2302da4584a50ea.tar.bz2
historical-bf534c21394b1c285236da7ca2302da4584a50ea.zip
Handle packages without /usr/share/doc gracefully.
Diffstat (limited to 'metadata')
-rw-r--r--metadata/install-qa-check.d/60gtk-doc-paths4
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