From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AAF18138334 for ; Thu, 7 Nov 2019 14:09:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D61F8E0856; Thu, 7 Nov 2019 14:09:21 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BC92CE0856 for ; Thu, 7 Nov 2019 14:09:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9DD4A34CA14 for ; Thu, 7 Nov 2019 14:09:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DBB4088E for ; Thu, 7 Nov 2019 14:09:18 +0000 (UTC) From: "Brian Evans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Evans" Message-ID: <1573135722.1c4eb888a7745e793e34f34dbc741cb04a70e204.grknight@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: bin/ X-VCS-Repository: proj/devmanual X-VCS-Files: bin/gen-eclass-html.sh X-VCS-Directories: bin/ X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans X-VCS-Revision: 1c4eb888a7745e793e34f34dbc741cb04a70e204 X-VCS-Branch: master Date: Thu, 7 Nov 2019 14:09:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c78beec9-b140-45aa-84e5-03d9903f24f9 X-Archives-Hash: 94ecaac374c6c3eb3cd8357ef87446ad commit: 1c4eb888a7745e793e34f34dbc741cb04a70e204 Author: Brian Evans gentoo org> AuthorDate: Thu Nov 7 14:08:42 2019 +0000 Commit: Brian Evans gentoo org> CommitDate: Thu Nov 7 14:08:42 2019 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=1c4eb888 bin/gen-eclass-html.sh: Fix BASENAME test Signed-off-by: Brian Evans gentoo.org> bin/gen-eclass-html.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"