From 2ba45edf2f4dfdd57e9416735128052ad4d5ee12 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 7 Apr 2018 18:18:37 +0200 Subject: base: Pass the correct load path to the 'evaluate' command. The previous load path was potentially incorrect since commit 2fe7ff87e23b18d49bd33cffc4766b7eaa382054. * src/cuirass/base.scm (evaluate)[tokenize, load-path]: New variables. Assume #:load-path is colon-separated. Pass LOAD-PATH as the second argument to 'evaluate'. * doc/cuirass.texi (Database): Adjust documentation. --- doc/cuirass.texi | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/cuirass.texi b/doc/cuirass.texi index fcebef6..b5b27e8 100644 --- a/doc/cuirass.texi +++ b/doc/cuirass.texi @@ -11,7 +11,8 @@ This manual is for Cuirass version @value{VERSION}, a build automation server. Copyright @copyright{} 2016, 2017 Mathieu Lirzin@* -Copyright @copyright{} 2017 Mathieu Othacehe +Copyright @copyright{} 2017 Mathieu Othacehe@* +Copyright @copyright{} 2018 Ludovic Courtès @quotation Permission is granted to copy, distribute and/or modify this document @@ -248,12 +249,16 @@ specification itself. The URL of the repository. @item load_path -This text field holds the name of the subdirectory in the checked out -repository that is passed to the @code{evaluate} tool as the Guile load -path. This directory is interpreted relative to the repository in the -Cuirass cache directory. This will usually be the current directory +This field holds a colon-separated list of directories that are +prepended to the Guile load path when evaluating @code{file} (see +below.) + +Each entry that is not an absolute file name is interpreted relative to +the source code checkout. Often, @code{load_path} has just one entry, @code{"."}. +When @code{load_path} is empty, the load path is left unchanged. + @item file The absolute name of the Scheme file containing PROC. -- cgit v1.2.3