1 |
commit: 5d8d827255a5f831247dc838879c4582b46210c4 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 14 09:35:48 2017 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 14 09:35:48 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d8d8272 |
7 |
|
8 |
sys-libs/glibc: added missing anchor to nsswitch.conf check, bug #627338 |
9 |
|
10 |
Original change meant to ignore lines starting with comment |
11 |
but was missing leading like anchor. Added. |
12 |
|
13 |
Reported-by: Dennis Schridde |
14 |
Bug: https://bugs.gentoo.org/627338 |
15 |
Package-Manager: Portage-2.3.13, Repoman-2.3.4 |
16 |
|
17 |
sys-libs/glibc/glibc-2.26-r3.ebuild | 2 +- |
18 |
1 file changed, 1 insertion(+), 1 deletion(-) |
19 |
|
20 |
diff --git a/sys-libs/glibc/glibc-2.26-r3.ebuild b/sys-libs/glibc/glibc-2.26-r3.ebuild |
21 |
index 98ab050e12f..d66113063e9 100644 |
22 |
--- a/sys-libs/glibc/glibc-2.26-r3.ebuild |
23 |
+++ b/sys-libs/glibc/glibc-2.26-r3.ebuild |
24 |
@@ -194,7 +194,7 @@ pkg_pretend() { |
25 |
if [[ -e ${EROOT}/etc/nsswitch.conf ]] ; then |
26 |
local entry |
27 |
for entry in passwd group shadow; do |
28 |
- if ! egrep -q "[ \t]*${entry}:.*files" "${EROOT}"/etc/nsswitch.conf; then |
29 |
+ if ! egrep -q "^[ \t]*${entry}:.*files" "${EROOT}"/etc/nsswitch.conf; then |
30 |
eerror "Your ${EROOT}/etc/nsswitch.conf is out of date." |
31 |
eerror "Please make sure you have 'files' entries for" |
32 |
eerror "'passwd:', 'group:' and 'shadow:' databases." |