diff options
author | Ulrich Müller <ulm@gentoo.org> | 2019-08-25 10:43:21 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2019-08-25 10:43:21 +0200 |
commit | 9df1efd58647227d1371a4089b6ebdee599fdf4d (patch) | |
tree | 13447ad58d3d61c78aca8c4271c5126b1a17ef58 /bin | |
parent | ebuild-writing/.../epatch: eapply does't support compressed files. (diff) | |
download | devmanual-9df1efd58647227d1371a4089b6ebdee599fdf4d.tar.gz devmanual-9df1efd58647227d1371a4089b6ebdee599fdf4d.tar.bz2 devmanual-9df1efd58647227d1371a4089b6ebdee599fdf4d.zip |
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@gentoo.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/gen-eclass-html.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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" |