commit:     9df1efd58647227d1371a4089b6ebdee599fdf4d
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 25 08:43:21 2019 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Aug 25 08:43:21 2019 +0000
URL:        https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=9df1efd5

gen-eclass-html.sh: Consider only manpages for HTML generation.

Closes: https://github.com/gentoo/devmanual.gentoo.org/pull/102
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 bin/gen-eclass-html.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/gen-eclass-html.sh b/bin/gen-eclass-html.sh
index db61319..1aa57f6 100755
--- a/bin/gen-eclass-html.sh
+++ b/bin/gen-eclass-html.sh
@@ -38,6 +38,7 @@ EOF
 # We also need the ebuild man page
 for i in $(/usr/bin/qlist eclass-manpages) /usr/share/man/man5/ebuild.5.bz2; do
        BASENAME="$(basename $i .5.bz2)"
+       [[ ${BASENAME} != "${i}" ]] || continue
        DIRNAME="${OUTPUTDIR}/${BASENAME}"
        TMP="${DIRNAME}/index.html.tmp"
        FINAL="${DIRNAME}/index.html"

Reply via email to