diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-09-08 12:34:14 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-09-08 12:34:14 +0000 |
commit | 078b5185a3159e0547d94c5106fb55d26b2a4e19 (patch) | |
tree | 97435e920de7da9125c771ad5f280eef7fe87ea4 | |
parent | b3bdae29f1e58b463546ee79507d87703e709afa (diff) | |
download | cpt-078b5185a3159e0547d94c5106fb55d26b2a4e19.tar.gz |
kiss: move cache to XDG_CACHE_HOME
FossilOrigin-Name: ca6ed810c0d7570aeccbb48588d24453fdb58af13bbcfca5ca040d9e677ad2f6
-rwxr-xr-x | kiss | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1051,7 +1051,7 @@ args() { ;; v|version|-v|--version) - printf 'kiss 0.11.3\n' + printf 'kiss 0.12.0\n' ;; h|help|-h|--help|'') @@ -1089,7 +1089,7 @@ main() { # Create the required temporary directories and set the variables # which point to them. - mkdir -p "${cac_dir:=$KISS_ROOT/var/cache/kiss}" \ + mkdir -p "${cac_dir:=$KISS_ROOT${XDG_CACHE_HOME:-$HOME/.cache}/kiss}" \ "${mak_dir:=$cac_dir/build-$pid}" \ "${pkg_dir:=$cac_dir/pkg-$pid}" \ "${tar_dir:=$cac_dir/extract-$pid}" \ |