From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1S108B-0000tc-2e for garchives@archives.gentoo.org; Fri, 24 Feb 2012 18:44:35 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 07397E0B36; Fri, 24 Feb 2012 18:44:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 6260FE0F2E for ; Fri, 24 Feb 2012 18:43:34 +0000 (UTC) Received: from localhost (unknown [200.89.69.133]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aballier) by smtp.gentoo.org (Postfix) with ESMTPSA id 3D6041B400A for ; Fri, 24 Feb 2012 18:43:33 +0000 (UTC) Date: Fri, 24 Feb 2012 15:43:27 -0300 From: Alexis Ballier To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] preserve_old_lib and I'm even more lazy Message-ID: <20120224154327.61c051ad@gentoo.org> In-Reply-To: <4F47CF5C.4070508@gentoo.org> References: <4F47CF5C.4070508@gentoo.org> Organization: Gentoo X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 0b957842-46f4-4d3a-986e-68dd3beee88f X-Archives-Hash: 07e3d5a106d98db6dab845ef27e3b7ea On Fri, 24 Feb 2012 18:56:44 +0100 ""Pawe=C5=82 Hajdan, Jr."" wrote: > Currently preserve_old_lib functions generate two commands per > preserved lib: >=20 > # revdep-rebuild --library '/usr/lib/libv8.so.3.9.4' > # rm '/usr/lib/libv8.so.3.9.4' >=20 > I'd like to modify eutils.eclass to only generate one command: >=20 > # revdep-rebuild --library '/usr/lib/libv8.so.3.9.4' && \ > rm '/usr/lib/libv8.so.3.9.4' >=20 > What do you think? >=20 +1 moreover the && wont delete the lib if revdep-rebuild failed i think, so it should be even safer to copy/paste :) A.