Skip to content
Snippets Groups Projects
Commit 9f55cf8d authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

Remove leftover debugging expressions.

* guix/build/utils.scm (directory-exists?): Remove leftover debugging
  expressions.
parent dcee50c1
No related branches found
No related tags found
No related merge requests found
...@@ -23,10 +23,9 @@ (define-module (guix build utils) ...@@ -23,10 +23,9 @@ (define-module (guix build utils)
(define (directory-exists? dir) (define (directory-exists? dir)
"Return #t if DIR exists and is a directory." "Return #t if DIR exists and is a directory."
(pk 'dir-exists? dir (let ((s (stat dir #f)))
(let ((s (pk 'stat dir (stat dir #f)))) (and s
(and s (eq? 'directory (stat:type s)))))
(eq? 'directory (stat:type s))))))
(define (search-path-as-list sub-directories input-dirs) (define (search-path-as-list sub-directories input-dirs)
"Return the list of directories among SUB-DIRECTORIES that exist in "Return the list of directories among SUB-DIRECTORIES that exist in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment