2
0
Fork 0
mirror of git://git.savannah.gnu.org/guix/guix-cuirass.git synced 2023-12-14 06:03:04 +01:00

base: Remove unnecessary 'file-exists?' call.

* src/cuirass/base.scm (fetch-repository): Remove 'file-exists?' call
before 'mkdir-p'.
This commit is contained in:
Ludovic Courtès 2017-02-15 00:15:22 +01:00 committed by Mathieu Lirzin
parent 61f8f75e93
commit 8c811abb31
No known key found for this signature in database
GPG key ID: 0ADEE10094604D37

View file

@ -86,7 +86,7 @@ if required. Return the last commit ID on success, #f otherwise."
commit))
(let ((cachedir (%package-cachedir)))
(or (file-exists? cachedir) (mkdir-p cachedir))
(mkdir-p cachedir)
(with-directory-excursion cachedir
(let ((name (assq-ref spec #:name))
(url (assq-ref spec #:url))