From: | "Jeremy Olexa (darkside)" <darkside@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-admin/eselect/files: eselect-1.0.11-parent-profiles.patch |
Date: | Wed, 08 Apr 2009 05:23:56 |
Message-Id: | E1LrQGQ-0005qf-OG@stork.gentoo.org |
1 | darkside 09/04/08 05:23:54 |
2 | |
3 | Added: eselect-1.0.11-parent-profiles.patch |
4 | Log: |
5 | Version bump to fix bug 248470, patch by Thomas Bellman. Allows parent profiles to be selectable. Also, remove old versions |
6 | (Portage version: 2.1.6.11/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 app-admin/eselect/files/eselect-1.0.11-parent-profiles.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/eselect/files/eselect-1.0.11-parent-profiles.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/eselect/files/eselect-1.0.11-parent-profiles.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: eselect-1.0.11-parent-profiles.patch |
15 | =================================================================== |
16 | Allow parent profiles to be selectable, patch by Thomas Bellman in bug 248470 |
17 | |
18 | Already in svn. |
19 | |
20 | --- modules/profile.eselect.orig 2009-04-08 00:18:09.366660181 -0500 |
21 | +++ modules/profile.eselect 2009-04-08 00:18:49.572626838 -0500 |
22 | @@ -47,7 +47,7 @@ |
23 | [[ -z "${arch}" && ${2} != "--force" ]] && return 1 |
24 | |
25 | # do a reverse lookup and find the arch associated with ${target} |
26 | - parch=$(sed -n -e "s|^\([[:alnum:]]\+\)[[:space:]].*${target}.*$|\1|p" \ |
27 | + parch=$(sed -n -e "s|^\([[:alnum:]]\+\)[[:space:]].*${target}[[:space:]].*$|\1|p" \ |
28 | ${ROOT}/${portdir}/profiles/profiles.desc) |
29 | |
30 | if [[ ${arch} != ${parch} && ${2} != "--force" ]] ; then |