aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2016-12-01 20:59:43 +0100
committerMathieu Lirzin <mthl@gnu.org>2016-12-01 20:59:43 +0100
commit05eba838eab4ca928d8df926d70677821714e962 (patch)
treeb382fdd176b62052635ccc25229b919e16f675c3
parent7248c0038f3d0bfcf6c469d534efb4a13952c112 (diff)
downloadcuirass-05eba838eab4ca928d8df926d70677821714e962.tar
cuirass-05eba838eab4ca928d8df926d70677821714e962.tar.gz
base: Create the parent directories of '%package-cachedir'.
* src/cuirass/base.scm (fetch-repository): Use 'mkdir-p' instead of 'mkdir' for 'cachedirectory'.
-rw-r--r--src/cuirass/base.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cuirass/base.scm b/src/cuirass/base.scm
index 1deb389..8a14ddc 100644
--- a/src/cuirass/base.scm
+++ b/src/cuirass/base.scm
@@ -82,7 +82,7 @@ if required."
commit))
(let ((cachedir (%package-cachedir)))
- (or (file-exists? cachedir) (mkdir cachedir))
+ (or (file-exists? cachedir) (mkdir-p cachedir))
(with-directory-excursion cachedir
(let ((name (assq-ref spec #:name))
(url (assq-ref spec #:url))