1 |
El lun, 27-02-2012 a las 16:06 +0100, "Paweł Hajdan, Jr." escribió: |
2 |
> On 2/24/12 6:56 PM, "Paweł Hajdan, Jr." wrote: |
3 |
> > I'd like to modify eutils.eclass to only generate one command: |
4 |
> > |
5 |
> > # revdep-rebuild --library '/usr/lib/libv8.so.3.9.4' && \ |
6 |
> > rm '/usr/lib/libv8.so.3.9.4' |
7 |
> |
8 |
> Given supporting comments to this thread (and totally off-topic |
9 |
> zfs/btrfs discussion), I'd like to commit the patch below in 24 hours. |
10 |
> |
11 |
> > --- eutils.eclass.orig 2012-02-26 10:02:24.000000000 +0100 |
12 |
> > +++ eutils.eclass 2012-02-26 10:03:17.000000000 +0100 |
13 |
> > @@ -1276,16 +1276,8 @@ |
14 |
> > fi |
15 |
> > # temp hack for #348634 #357225 |
16 |
> > [[ ${PN} == "mpfr" ]] && lib=${lib##*/} |
17 |
> > - ewarn " # revdep-rebuild --library '${lib}'" |
18 |
> > + ewarn " # revdep-rebuild --library '${lib}' && rm '${lib}'" |
19 |
> > done |
20 |
> > - if [[ ${notice} -eq 1 ]] ; then |
21 |
> > - ewarn |
22 |
> > - ewarn "Once you've finished running revdep-rebuild, it should be safe to" |
23 |
> > - ewarn "delete the old libraries. Here is a copy & paste for the lazy:" |
24 |
> > - for lib in "$@" ; do |
25 |
> > - ewarn " # rm '${lib}'" |
26 |
> > - done |
27 |
> > - fi |
28 |
> > } |
29 |
> > |
30 |
> > # @FUNCTION: built_with_use |
31 |
> |
32 |
|
33 |
I think somebody pointed some "revdep-rebuild" versions where exiting |
34 |
with successful code even when failed, was fixed version stabilized? |