diff options
author | Brian Evans <grknight@gentoo.org> | 2019-11-07 09:08:42 -0500 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2019-11-07 09:08:42 -0500 |
commit | 1c4eb888a7745e793e34f34dbc741cb04a70e204 (patch) | |
tree | 0ba7900273300f7affead8955377bd091699f7b1 /bin | |
parent | general-concepts/mirrors: improve bad upstream distfile rename text (diff) | |
download | devmanual-1c4eb888a7745e793e34f34dbc741cb04a70e204.tar.gz devmanual-1c4eb888a7745e793e34f34dbc741cb04a70e204.tar.bz2 devmanual-1c4eb888a7745e793e34f34dbc741cb04a70e204.zip |
bin/gen-eclass-html.sh: Fix BASENAME test
Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/gen-eclass-html.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gen-eclass-html.sh b/bin/gen-eclass-html.sh index 1aa57f6..d3b0cf2 100755 --- a/bin/gen-eclass-html.sh +++ b/bin/gen-eclass-html.sh @@ -38,7 +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 + [[ ${BASENAME} != "${i##*/}" ]] || continue DIRNAME="${OUTPUTDIR}/${BASENAME}" TMP="${DIRNAME}/index.html.tmp" FINAL="${DIRNAME}/index.html" |