diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-08-29 12:31:21 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-08-31 15:55:26 -0700 |
commit | 030fa324859eb5b3e7b539c6e1dcbbb3fac1db4c (patch) | |
tree | 0e8314faa3e16b20e9ecafd9ba42275d543d59d7 /src/image.lisp | |
parent | 2248ee00ede423fc55791259099cbf7d5f57fcdc (diff) | |
download | consfigurator-030fa324859eb5b3e7b539c6e1dcbbb3fac1db4c.tar.gz |
use UIOP:XDG-CACHE-HOME
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/image.lisp')
-rw-r--r-- | src/image.lisp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/image.lisp b/src/image.lisp index 8bc34b3..fc29179 100644 --- a/src/image.lisp +++ b/src/image.lisp @@ -327,9 +327,7 @@ ASDF-REQUIREMENTS, after having uploaded those Lisp systems using UPLOAD-ALL-PREREQUISITE-DATA.") (:method ((asdf-requirements asdf-requirements)) `(progn - (let* ((cache (ensure-directory-pathname - (or (getenv "XDG_CACHE_HOME") - (strcat (getenv "HOME") "/.cache")))) + (let* ((cache (uiop:xdg-cache-home)) (dest (ensure-directories-exist (merge-pathnames "consfigurator/systems/" cache))) (file (merge-pathnames |