diff --git a/libraries/nasdf/install.lisp b/libraries/nasdf/install.lisp index 0c95103e595..ba3710b3e41 100644 --- a/libraries/nasdf/install.lisp +++ b/libraries/nasdf/install.lisp @@ -310,17 +310,13 @@ They are either listed with 'git ls-files' or directly if Git is not found." (ensure-directory-pathname exclusion) (ensure-directory-pathname source)))) (exclude-subpath component)))) - (remove-if (lambda (file) - (or (file-excluded-type file (exclude-types component)) - (let ((file-string (namestring file))) - (some (lambda (exclusion) - (string-prefix-p exclusion file-string)) - absolute-exclusions)))) - (mapcar (lambda (path) - (ensure-pathname path :truenamize t)) - (git-ls-files - root - source))))) + (remove-if (lambda (file) (or (file-excluded-type file (exclude-types component)) + (let ((file-string (namestring file))) + (some (lambda (exclusion) (string-prefix-p exclusion + file-string)) + absolute-exclusions)))) + (mapcar (lambda (path) (ensure-pathname path :truenamize t)) + (git-ls-files root source))))) (error (c) (warn "~a~&Git error, falling back to direct listing." c) (with-current-directory (root)