From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/eclass-manpages/files/
Date: Fri, 14 Aug 2015 04:07:13 +0000 (UTC) [thread overview]
Message-ID: <1439525135.af7a9cb899d8f0451e2249efb505c3f95c5f81c0.vapier@gentoo> (raw)
commit: af7a9cb899d8f0451e2249efb505c3f95c5f81c0
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 14 04:03:18 2015 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Fri Aug 14 04:05:35 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af7a9cb8
app-portage/eclass-manpages: add a check for the @ECLASS name #537392
app-portage/eclass-manpages/files/eclass-to-manpage.awk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/app-portage/eclass-manpages/files/eclass-to-manpage.awk b/app-portage/eclass-manpages/files/eclass-to-manpage.awk
index 11ece1f..ee42810 100644
--- a/app-portage/eclass-manpages/files/eclass-to-manpage.awk
+++ b/app-portage/eclass-manpages/files/eclass-to-manpage.awk
@@ -145,6 +145,10 @@ function handle_eclass() {
desc = ""
example = ""
+ # Sanity check the eclass name. #537392
+ if (eclass !~ /[.]eclass$/)
+ fail(eclass ": @ECLASS name is missing a '.eclass' suffix")
+
# first the man page header
print ".\\\" -*- coding: utf-8 -*-"
print ".\\\" ### DO NOT EDIT THIS FILE"
next reply other threads:[~2015-08-14 4:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-14 4:07 Mike Frysinger [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-08-14 4:07 [gentoo-commits] repo/gentoo:master commit in: app-portage/eclass-manpages/files/ Mike Frysinger
2015-08-14 4:26 Mike Frysinger
2016-08-15 14:09 Mike Gilbert
2017-03-21 18:22 Michał Górny
2017-03-21 18:22 Michał Górny
2017-11-17 16:49 Michał Górny
2017-11-17 16:49 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1439525135.af7a9cb899d8f0451e2249efb505c3f95c5f81c0.vapier@gentoo \
--to=vapier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox