From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id AD13C138CA2 for ; Tue, 21 Apr 2015 00:31:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F2592E08FE; Tue, 21 Apr 2015 00:31:16 +0000 (UTC) Received: from toothrot.meleeweb.net (fr1.as29.net [62.210.131.231]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 623E5E08FC for ; Tue, 21 Apr 2015 00:31:15 +0000 (UTC) Received: from localhost ([::1]:18062 helo=mail.meleeweb.net) by toothrot.meleeweb.net with esmtp id 1YkM5q-0001eu-0a; Tue, 21 Apr 2015 02:31:14 +0200 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 21 Apr 2015 01:31:13 +0100 From: Bertrand Jacquin To: gentoo-portage-dev@lists.gentoo.org Cc: Zac Medico Subject: Re: [gentoo-portage-dev] [PATCHv3 1/2] MEDIUM: misc-functions: Be more quiet when removing non existing =?UTF-8?Q?INSTALL=5FMASK?= In-Reply-To: <55358E1D.1070801@gentoo.org> References: <1429559160-11646-1-git-send-email-bertrand@jacquin.bzh> <55358E1D.1070801@gentoo.org> Message-ID: X-Sender: bertrand@jacquin.bzh User-Agent: Roundcube Webmail X-Archives-Salt: 6422d14a-b5e0-40fb-8ddc-9b6c35863a93 X-Archives-Hash: 8da8337c7996f5c26f3a770d42ee943f On 21/04/2015 00:39, Zac Medico wrote: > These are in the master branch now: > > https://gitweb.gentoo.org/proj/portage.git/commit/?id=5a1b870fe54ac06f864a648c3ea5cc118f6ce911 > https://gitweb.gentoo.org/proj/portage.git/commit/?id=e74e2670e3f043608fced9847e54bdbb19f35169 Thanks for that :) > I modified the test as follows in order to ensure that it still works > with shell globs: > > if [[ -e "${root}"/${no_inst} || "${root}"/${no_inst} != $(echo > "${root}"/${no_inst}) ]] ; then I do not really understand the use case here, do you have an example ? Cheers, -- Bertrand