Gentoo Archives: gentoo-commits

From: "Jonathan Callen (abcd)" <abcd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in profiles/prefix/windows/interix: profile.bashrc
Date: Thu, 25 Feb 2010 09:01:25
Message-Id: E1NkZay-0001rX-60@stork.gentoo.org
1 abcd 10/02/25 09:01:20
2
3 Modified: profile.bashrc
4 Log:
5 Fix grep for odd names (like /usr/bin/[)
6
7 Revision Changes Path
8 1.3 profiles/prefix/windows/interix/profile.bashrc
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/prefix/windows/interix/profile.bashrc?rev=1.3&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/prefix/windows/interix/profile.bashrc?rev=1.3&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/prefix/windows/interix/profile.bashrc?r1=1.2&r2=1.3
13
14 Index: profile.bashrc
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/profiles/prefix/windows/interix/profile.bashrc,v
17 retrieving revision 1.2
18 retrieving revision 1.3
19 diff -u -r1.2 -r1.3
20 --- profile.bashrc 13 Aug 2009 09:56:51 -0000 1.2
21 +++ profile.bashrc 25 Feb 2010 09:01:19 -0000 1.3
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2009 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/profiles/prefix/windows/interix/profile.bashrc,v 1.2 2009/08/13 09:56:51 mduft Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/profiles/prefix/windows/interix/profile.bashrc,v 1.3 2010/02/25 09:01:19 abcd Exp $
27
28 # One basically always wants -D_ALL_SOURCE, it's some stupid restriction
29 # to hide useful stuff. newer GCCs have this define built-int, so no need
30 @@ -102,7 +102,7 @@
31 test -r "${ROOT}${f}" || continue
32 rmstem="${f}.removedbyportage"
33 # keep list of old busy text files unique
34 - grep "^${rmstem}$" "${removedlist}" >/dev/null \
35 + grep -F "${rmstem}" "${removedlist}" >/dev/null \
36 || echo "${rmstem}" >> "${removedlist}"
37
38 local n=$(interix_find_removed_slot ${ROOT}${rmstem})