aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-07-21 10:02:48 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-07-21 10:02:48 +0000
commit9d85b3f0a6a1939385fa2332d3e54e0badd2152c (patch)
treea83f756333e914f0bb280963aa6e8c35822cf50a
parent1289353573a49a11667fe069d983a8549b5ac6fa (diff)
downloadcpt-9d85b3f0a6a1939385fa2332d3e54e0badd2152c.tar.gz
kiss: Move cache to /var/cache/kiss
FossilOrigin-Name: be7b11458b0f23caafc418a8b564aaf75a83e6b2ea839d1f5db8b8cc74208296
-rwxr-xr-xkiss4
1 files changed, 2 insertions, 2 deletions
diff --git a/kiss b/kiss
index 6612721..9df9c19 100755
--- a/kiss
+++ b/kiss
@@ -810,8 +810,8 @@ setup_caching() {
# directories which need to exist and set variables for easy
# access to them.
- # Main cache directory (~/.cache/kiss/) typically.
- mkdir -p "${cac_dir:=${XDG_CACHE_HOME:=$HOME/.cache}/kiss}" ||
+ # Main cache directory.
+ mkdir -p "${cac_dir:=$KISS_ROOT/var/cache/kiss}" ||
die "Couldn't create cache directory ($cac_dir)."
# Build directory.