Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/devmanual:master commit in: bin/
Date: Sun, 25 Aug 2019 08:43:44
Message-Id: 1566722601.9df1efd58647227d1371a4089b6ebdee599fdf4d.ulm@gentoo
1 commit: 9df1efd58647227d1371a4089b6ebdee599fdf4d
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 25 08:43:21 2019 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 25 08:43:21 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=9df1efd5
7
8 gen-eclass-html.sh: Consider only manpages for HTML generation.
9
10 Closes: https://github.com/gentoo/devmanual.gentoo.org/pull/102
11 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
12
13 bin/gen-eclass-html.sh | 1 +
14 1 file changed, 1 insertion(+)
15
16 diff --git a/bin/gen-eclass-html.sh b/bin/gen-eclass-html.sh
17 index db61319..1aa57f6 100755
18 --- a/bin/gen-eclass-html.sh
19 +++ b/bin/gen-eclass-html.sh
20 @@ -38,6 +38,7 @@ EOF
21 # We also need the ebuild man page
22 for i in $(/usr/bin/qlist eclass-manpages) /usr/share/man/man5/ebuild.5.bz2; do
23 BASENAME="$(basename $i .5.bz2)"
24 + [[ ${BASENAME} != "${i}" ]] || continue
25 DIRNAME="${OUTPUTDIR}/${BASENAME}"
26 TMP="${DIRNAME}/index.html.tmp"
27 FINAL="${DIRNAME}/index.html"