From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: tree doesn't get called Date: Mon, 08 May 2017 08:08:45 +0200 Message-ID: <87y3u7khhu.fsf@elephly.net> References: <20170505172459.158487fc@openmailbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7br1-0002AN-U2 for help-guix@gnu.org; Mon, 08 May 2017 02:09:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7bqy-0006nS-Q4 for help-guix@gnu.org; Mon, 08 May 2017 02:09:07 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21128) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d7bqy-0006nG-J2 for help-guix@gnu.org; Mon, 08 May 2017 02:09:04 -0400 In-reply-to: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Catonano Cc: help-guix Catonano 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