From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 2/2] gnu: encfs: Update to 1.9. Date: Tue, 13 Sep 2016 14:11:23 +0200 Message-ID: <877fag579w.fsf@gnu.org> References: <1473556426-19703-1-git-send-email-me@tobias.gr> <1473556426-19703-2-git-send-email-me@tobias.gr> <8760q1tess.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjmYm-00028d-Eb for guix-devel@gnu.org; Tue, 13 Sep 2016 08:11:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjmYg-0003JI-Uv for guix-devel@gnu.org; Tue, 13 Sep 2016 08:11:31 -0400 In-Reply-To: (Tobias Geerinckx-Rice's message of "Mon, 12 Sep 2016 15:54:42 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Tobias Geerinckx-Rice Cc: guix-devel@gnu.org Tobias Geerinckx-Rice skribis: > On 12/09/16 15:42, Ludovic Court=C3=A8s wrote: >>> + (snippet '(for-each delete-file-recursively >>> + (find-files "internal" "tinyxml2"))))) >>=20 >> Note that the 2nd argument to =E2=80=98find-files=E2=80=99 is a regexp. = Is this really >> intended? > > It is. The directory to be deleted is actually named "tinyxml2-3.0.0" > (or so), with future version bumps too easy to miss. OK, makes sense. However, =E2=80=98find-files=E2=80=99 does not include directories in its r= esult, unless you explicitly ask for it. So probably it should be: (for-each delete-file-recursively (find-files "internal" "^tinyxml2" #:directories? #t)) ? Ludo=E2=80=99.