diff --git a/src/sources/sources.lisp b/src/sources/sources.lisp index c706bb2..acb2aa8 100644 --- a/src/sources/sources.lisp +++ b/src/sources/sources.lisp @@ -162,8 +162,11 @@ part root)) (if (probe-file candidate) candidate (error "File does not exists: '~a'." candidate)))) - (:filename (if (fad:pathname-absolute-p part) part - (merge-pathnames part root)))))) + (:filename (let ((filename + (if (fad:pathname-absolute-p part) part + (merge-pathnames part root)))) + (if (probe-file filename) filename + (error "File does not exists: '~a'." filename))))))) ;;;