diff options
author | Jonathan Callen <abcd@gentoo.org> | 2010-02-25 09:01:19 +0000 |
---|---|---|
committer | Jonathan Callen <abcd@gentoo.org> | 2010-02-25 09:01:19 +0000 |
commit | 64abe27fb6dc1c3fd622ab97bb84ff80451b6d46 (patch) | |
tree | 196b98dc529917040884b00c4d6f7b0f39212114 /profiles/prefix/windows | |
parent | Bumped wrong version (diff) | |
download | gentoo-2-64abe27fb6dc1c3fd622ab97bb84ff80451b6d46.tar.gz gentoo-2-64abe27fb6dc1c3fd622ab97bb84ff80451b6d46.tar.bz2 gentoo-2-64abe27fb6dc1c3fd622ab97bb84ff80451b6d46.zip |
Fix grep for odd names (like /usr/bin/[)
Diffstat (limited to 'profiles/prefix/windows')
-rw-r--r-- | profiles/prefix/windows/interix/profile.bashrc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/profiles/prefix/windows/interix/profile.bashrc b/profiles/prefix/windows/interix/profile.bashrc index 2ec6bdcee881..7cdaf0ab2536 100644 --- a/profiles/prefix/windows/interix/profile.bashrc +++ b/profiles/prefix/windows/interix/profile.bashrc @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/profiles/prefix/windows/interix/profile.bashrc,v 1.2 2009/08/13 09:56:51 mduft Exp $ +# $Header: /var/cvsroot/gentoo-x86/profiles/prefix/windows/interix/profile.bashrc,v 1.3 2010/02/25 09:01:19 abcd Exp $ # One basically always wants -D_ALL_SOURCE, it's some stupid restriction # to hide useful stuff. newer GCCs have this define built-int, so no need @@ -102,7 +102,7 @@ post_pkg_preinst() { test -r "${ROOT}${f}" || continue rmstem="${f}.removedbyportage" # keep list of old busy text files unique - grep "^${rmstem}$" "${removedlist}" >/dev/null \ + grep -F "${rmstem}" "${removedlist}" >/dev/null \ || echo "${rmstem}" >> "${removedlist}" local n=$(interix_find_removed_slot ${ROOT}${rmstem}) |