diff options
author | Sam James <sam@gentoo.org> | 2022-03-04 01:17:33 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-03-04 01:21:00 +0000 |
commit | 6cac5c86403fb7b3274ae91126b5ae98237e3535 (patch) | |
tree | 3d644a7134e8ca96583ed4c999dbec7fc777fcaf /metadata/install-qa-check.d | |
parent | www-client/chromium: Stabilize 99.0.4844.51 amd64, #834478 (diff) | |
download | gentoo-6cac5c86403fb7b3274ae91126b5ae98237e3535.tar.gz gentoo-6cac5c86403fb7b3274ae91126b5ae98237e3535.tar.bz2 gentoo-6cac5c86403fb7b3274ae91126b5ae98237e3535.zip |
metadata/install-qa-check.d: fix 60gtk-doc-paths check for EAPI 7+
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'metadata/install-qa-check.d')
-rw-r--r-- | metadata/install-qa-check.d/60gtk-doc-paths | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/metadata/install-qa-check.d/60gtk-doc-paths b/metadata/install-qa-check.d/60gtk-doc-paths index 8c12c2604337..9f927cce8406 100644 --- a/metadata/install-qa-check.d/60gtk-doc-paths +++ b/metadata/install-qa-check.d/60gtk-doc-paths @@ -1,16 +1,16 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # QA check: ensure that gtk-doc files are installed in /usr/share/gtk-doc # Maintainer: GNOME team <gnome@gentoo.org> gtk_doc_path_check() { - [[ -d ${ED}usr/share/doc ]] || return + [[ -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 || die) + done < <(find "${ED%/}"/usr/share/doc -name '*.devhelp*' -print0 || die) if [[ ${found[@]} ]]; then eqawarn @@ -19,9 +19,9 @@ gtk_doc_path_check() { eqawarn eqatag -v gtk-doc-paths.invalid-path "${found[@]#${D%/}}" eqawarn - eqawarn "gtk-doc documentation must always be installed into /usr/share/gtk-doc." + eqawarn "gtk-doc documentation must always be installed into ${EPREFIX}/usr/share/gtk-doc." eqawarn "For more details, please see the GNOME team policy page:" - eqawarn "https://wiki.gentoo.org/wiki/Project:GNOME/Gnome_Team_Ebuild_Policies#gtk-doc" + eqawarn "https://wiki.gentoo.org/wiki/Project:GNOME/Gnome_Team_Ebuild_Policies#Handling_gtk-doc_documentation" eqawarn fi } |