public inbox for gentoo-pms@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-pms] [PATCH] EAPI must be at least a single char.
@ 2012-09-30  8:28 Brian Harring
  2012-09-30  9:13 ` Ulrich Mueller
  0 siblings, 1 reply; 10+ messages in thread
From: Brian Harring @ 2012-09-30  8:28 UTC (permalink / raw
  To: gentoo-pms; +Cc: Brian Harring

The example regex allowed for
EAPI=

Which isn't used, alloewd, nor desired; at best, that's short hand
for EAPI=0.
---
 ebuild-vars.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ebuild-vars.tex b/ebuild-vars.tex
index 53de53d..ec0d84e 100644
--- a/ebuild-vars.tex
+++ b/ebuild-vars.tex
@@ -139,7 +139,7 @@ once. The assignment must not be preceded by any lines other than blank lines or
 with optional whitespace (spaces or tabs) followed by a \t{\#} character, and the line containing
 the assignment statement must match the following regular expression:
 \begin{verbatim}
-^[ \t]*EAPI=(['"]?)([A-Za-z0-9+_.-]*)\1[ \t]*([ \t]#.*)?$
+^[ \t]*EAPI=(['"]?)([A-Za-z0-9+_.-]+)\1[ \t]*([ \t]#.*)?$
 \end{verbatim}
 
 The package manager must determine the EAPI of an ebuild by parsing its first non-blank and
-- 
1.7.12



^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-10-01 16:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-30  8:28 [gentoo-pms] [PATCH] EAPI must be at least a single char Brian Harring
2012-09-30  9:13 ` Ulrich Mueller
2012-09-30 19:44   ` Brian Harring
2012-09-30 19:52     ` Zac Medico
2012-09-30 22:10       ` Ulrich Mueller
2012-10-01  0:48         ` Zac Medico
2012-09-30 22:22       ` Brian Harring
2012-10-01  0:25         ` Zac Medico
2012-10-01  7:15           ` Ulrich Mueller
2012-10-01 16:33             ` Zac Medico

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox