1 |
commit: f3a7a9aaed8a3affc56cf3cbd23f18d8a01120b1 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 22 07:15:12 2015 +0000 |
4 |
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 22 16:38:41 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=f3a7a9aa |
7 |
|
8 |
man/ebuild.5: Update description of =* operator. |
9 |
|
10 |
After commit d4966a381ee4577818bd972946647338046715b1 |
11 |
"match_from_list: restrict =* to match only on version part |
12 |
boundaries" the description of the =* operator in ebuild(5) was |
13 |
no longer accurate. |
14 |
|
15 |
This reverts commit 2b1eceaf79ac667eecdf1ef9585592a235c8d93f. |
16 |
|
17 |
man/ebuild.5 | 9 +++------ |
18 |
1 file changed, 3 insertions(+), 6 deletions(-) |
19 |
|
20 |
diff --git a/man/ebuild.5 b/man/ebuild.5 |
21 |
index 6a27cc5..e60eee1 100644 |
22 |
--- a/man/ebuild.5 |
23 |
+++ b/man/ebuild.5 |
24 |
@@ -96,12 +96,9 @@ Example: |
25 |
.fi |
26 |
.TP |
27 |
.I * |
28 |
-means match any version of the package so long |
29 |
-as the specified string prefix is matched. So with a |
30 |
-version of '2*', we can match '2.1', '2.2', '2.2.1', |
31 |
-etc... and not match version '1.0', '3.0', '4.1', etc... |
32 |
-Beware that, due to the string matching nature, '20' |
33 |
-will also be matched by '2*'. The version part |
34 |
+means match any version of the package so long as the specified base |
35 |
+is matched. So with a version of '2*', we can match '2.1', '2.2', '2.2.1', |
36 |
+etc... and not match version '1.0', '3.0', '4.1', etc... The version part |
37 |
that comes before the '*' must be a valid version in the absence of the '*'. |
38 |
For example, '2' is a valid version and '2.' is not. Therefore, '2*' is |
39 |
allowed and '2.*' is not. |