Gentoo Archives: gentoo-dev

From: Alexis Ballier <aballier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] preserve_old_lib and I'm even more lazy
Date: Fri, 24 Feb 2012 18:44:35
Message-Id: 20120224154327.61c051ad@gentoo.org
In Reply to: [gentoo-dev] preserve_old_lib and I'm even more lazy by "Paweł Hajdan
1 On Fri, 24 Feb 2012 18:56:44 +0100
2 ""Paweł Hajdan, Jr."" <phajdan.jr@g.o> wrote:
3
4 > Currently preserve_old_lib functions generate two commands per
5 > preserved lib:
6 >
7 > # revdep-rebuild --library '/usr/lib/libv8.so.3.9.4'
8 > # rm '/usr/lib/libv8.so.3.9.4'
9 >
10 > I'd like to modify eutils.eclass to only generate one command:
11 >
12 > # revdep-rebuild --library '/usr/lib/libv8.so.3.9.4' && \
13 > rm '/usr/lib/libv8.so.3.9.4'
14 >
15 > What do you think?
16 >
17
18 +1
19
20 moreover the && wont delete the lib if revdep-rebuild failed i think,
21 so it should be even safer to copy/paste :)
22
23 A.

Replies

Subject Author
Re: [gentoo-dev] preserve_old_lib and I'm even more lazy Rich Freeman <rich0@g.o>