Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: savedconfig.eclass
Date: Fri, 30 Oct 2009 16:46:44
Message-Id: E1N3ucb-0005pl-R4@stork.gentoo.org
1 vapier 09/10/30 16:46:41
2
3 Modified: savedconfig.eclass
4 Log:
5 invert read logic pointed out by Arfrever Frehtes Taifersar Arahesis #289168#4
6
7 Revision Changes Path
8 1.12 eclass/savedconfig.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/savedconfig.eclass?rev=1.12&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/savedconfig.eclass?rev=1.12&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/savedconfig.eclass?r1=1.11&r2=1.12
13
14 Index: savedconfig.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/savedconfig.eclass,v
17 retrieving revision 1.11
18 retrieving revision 1.12
19 diff -u -r1.11 -r1.12
20 --- savedconfig.eclass 30 Oct 2009 00:05:25 -0000 1.11
21 +++ savedconfig.eclass 30 Oct 2009 16:46:41 -0000 1.12
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2007 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/savedconfig.eclass,v 1.11 2009/10/30 00:05:25 vapier Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/savedconfig.eclass,v 1.12 2009/10/30 16:46:41 vapier Exp $
27
28 # @ECLASS: savedconfig.eclass
29 # @MAINTAINER:
30 @@ -115,7 +115,7 @@
31 die "do not know how to handle non-file/directory ${found}"
32 else
33 # maybe the user is screwing around with perms they shouldnt #289168
34 - if [[ -r ${base} ]] ; then
35 + if [[ ! -r ${base} ]] ; then
36 eerror "Unable to read ${base} -- perms are screwed ?"
37 die "fix your system"
38 fi