help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tree doesn't get called


From: Ricardo Wurmus
Subject: Re: tree doesn't get called
Date: Mon, 08 May 2017 08:08:45 +0200
User-agent: mu4e 0.9.18; emacs 25.2.1

Catonano <address@hidden> writes:

> Would you mind to take a look at this new version ?
>
> http://paste.lisp.org/display/346142
>
> The
>
> (copy-file file
>            dest-file)
>
> piece fails with
>
> ...
> In unknown file:
>    ?: 0 [copy-file "include.scm" ...]
>
> ERROR: In procedure copy-file:
> ERROR: In procedure copy-file: No such file or directory
>
> But as you can see on te "tree" output, include.scm is there indeed

It looks like you first need to create the target directory (with
“mkdir-p”).

BTW: instead of an explicit list for scm-files you could use this:

    (find-files "." "\\.scm$")

--
Ricardo

  GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
  https://elephly.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]