1 |
commit: 1c4eb888a7745e793e34f34dbc741cb04a70e204 |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Nov 7 14:08:42 2019 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 7 14:08:42 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=1c4eb888 |
7 |
|
8 |
bin/gen-eclass-html.sh: Fix BASENAME test |
9 |
|
10 |
Signed-off-by: Brian Evans <grknight <AT> gentoo.org> |
11 |
|
12 |
bin/gen-eclass-html.sh | 2 +- |
13 |
1 file changed, 1 insertion(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/bin/gen-eclass-html.sh b/bin/gen-eclass-html.sh |
16 |
index 1aa57f6..d3b0cf2 100755 |
17 |
--- a/bin/gen-eclass-html.sh |
18 |
+++ b/bin/gen-eclass-html.sh |
19 |
@@ -38,7 +38,7 @@ EOF |
20 |
# We also need the ebuild man page |
21 |
for i in $(/usr/bin/qlist eclass-manpages) /usr/share/man/man5/ebuild.5.bz2; do |
22 |
BASENAME="$(basename $i .5.bz2)" |
23 |
- [[ ${BASENAME} != "${i}" ]] || continue |
24 |
+ [[ ${BASENAME} != "${i##*/}" ]] || continue |
25 |
DIRNAME="${OUTPUTDIR}/${BASENAME}" |
26 |
TMP="${DIRNAME}/index.html.tmp" |
27 |
FINAL="${DIRNAME}/index.html" |