all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Tobias Geerinckx-Rice <me@tobias.gr>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 2/2] gnu: encfs: Update to 1.9.
Date: Tue, 13 Sep 2016 14:11:23 +0200	[thread overview]
Message-ID: <877fag579w.fsf@gnu.org> (raw)
In-Reply-To: <ccd17c97-c1b1-90a0-b0a5-4153b5357782@tobias.gr> (Tobias Geerinckx-Rice's message of "Mon, 12 Sep 2016 15:54:42 +0200")

Tobias Geerinckx-Rice <me@tobias.gr> skribis:

> On 12/09/16 15:42, Ludovic Courtès wrote:
>>> +       (snippet '(for-each delete-file-recursively
>>> +                           (find-files "internal" "tinyxml2")))))
>> 
>> Note that the 2nd argument to ‘find-files’ 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, ‘find-files’ does not include directories in its result, unless
you explicitly ask for it.  So probably it should be:

  (for-each delete-file-recursively
            (find-files "internal" "^tinyxml2"
                        #:directories? #t))

?

Ludo’.

  reply	other threads:[~2016-09-13 12:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-11  1:13 [PATCH 1/2] gnu: Add tinyxml2 Tobias Geerinckx-Rice
2016-09-11  1:13 ` [PATCH 2/2] gnu: encfs: Update to 1.9 Tobias Geerinckx-Rice
2016-09-12 13:42   ` Ludovic Courtès
2016-09-12 13:54     ` Tobias Geerinckx-Rice
2016-09-13 12:11       ` Ludovic Courtès [this message]
2016-09-13 18:25         ` Tobias Geerinckx-Rice
2016-09-13 21:59           ` Ludovic Courtès
2016-09-12 13:40 ` [PATCH 1/2] gnu: Add tinyxml2 Ludovic Courtès
2016-09-13 15:31   ` Tobias Geerinckx-Rice

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877fag579w.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=me@tobias.gr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.