aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-09-08 12:34:14 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-09-08 12:34:14 +0000
commit078b5185a3159e0547d94c5106fb55d26b2a4e19 (patch)
tree97435e920de7da9125c771ad5f280eef7fe87ea4 /kiss
parentb3bdae29f1e58b463546ee79507d87703e709afa (diff)
downloadcpt-078b5185a3159e0547d94c5106fb55d26b2a4e19.tar.gz
kiss: move cache to XDG_CACHE_HOME
FossilOrigin-Name: ca6ed810c0d7570aeccbb48588d24453fdb58af13bbcfca5ca040d9e677ad2f6
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss4
1 files changed, 2 insertions, 2 deletions
diff --git a/kiss b/kiss
index 55cc588..194bf31 100755
--- a/kiss
+++ b/kiss
@@ -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}" \