aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2019-11-07 09:08:42 -0500
committerBrian Evans <grknight@gentoo.org>2019-11-07 09:08:42 -0500
commit1c4eb888a7745e793e34f34dbc741cb04a70e204 (patch)
tree0ba7900273300f7affead8955377bd091699f7b1 /bin
parentgeneral-concepts/mirrors: improve bad upstream distfile rename text (diff)
downloaddevmanual-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-xbin/gen-eclass-html.sh2
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"