diff options
author | Mathieu Lirzin <mthl@gnu.org> | 2016-12-01 20:59:43 +0100 |
---|---|---|
committer | Mathieu Lirzin <mthl@gnu.org> | 2016-12-01 20:59:43 +0100 |
commit | 05eba838eab4ca928d8df926d70677821714e962 (patch) | |
tree | b382fdd176b62052635ccc25229b919e16f675c3 /src | |
parent | 7248c0038f3d0bfcf6c469d534efb4a13952c112 (diff) | |
download | cuirass-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'.
Diffstat (limited to 'src')
-rw-r--r-- | src/cuirass/base.scm | 2 |
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)) |