1 |
On 14/05/08 20:54 +0200, Radice David wrote: |
2 |
> Hi, |
3 |
> I am playing with it right now, but I had to patch it this way to make |
4 |
> it work with my /etc/portage/package.* directories: |
5 |
> |
6 |
> --- empi.old 2008-05-14 19:35:00.000000000 +0200 |
7 |
> +++ empi.new 2008-05-14 19:39:30.000000000 +0200 |
8 |
> @@ -106,7 +106,7 @@ |
9 |
> fi |
10 |
> |
11 |
> if ! grep "[>=<]*${imp}/${atom[1]}" ${gfiles} &>/dev/null; then |
12 |
> - grep "[>=<]*${atom[0]}/${atom[1]}" ${gfiles} 2>/dev/null \ |
13 |
> + grep -h "[>=<]*${atom[0]}/${atom[1]}" ${gfiles} 2>/dev/null \ |
14 |
> | sed "s,${atom[0]},${imp}," \ |
15 |
> | while read line; do |
16 |
> echo "${line}" >> ${f} |
17 |
> |
18 |
> otherwise grep will produce a wrong output because it will prefix the |
19 |
> file name before the found expression and something like this is put |
20 |
> inside the keyword file: |
21 |
> |
22 |
> /etc/portage/package.keywords/base:mpi-test/openmpi ~x86 |
23 |
|
24 |
Should be fixed in 0.4, thanks for letting me know. I failed to test |
25 |
directories in portage_confdir, but I have some now :) |
26 |
|
27 |
I think I saw you ask about documentation on b.g.o as well. As long as I'm |
28 |
writing this email, I may as well state that I'm working on some guide-xml |
29 |
stuff. By 'working on' I mean I started it and have every intention of |
30 |
finishing in the next week or so. |
31 |
|
32 |
Thanks for trying this out! |
33 |
|
34 |
-- |
35 |
Justin Bronder |