summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--asp.in2
-rw-r--r--man/asp.1.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/asp.in b/asp.in
index 6471aa1..41b3877 100644
--- a/asp.in
+++ b/asp.in
@@ -4,7 +4,7 @@ ARCH_GIT_REPOS=(packages community)
OPT_ARCH=$(uname -m)
OPT_FORCE=0
-: ${ASPROOT:=${XDG_CACHE_HOME:-$HOME/.cache/asp}}
+: ${ASPROOT:=${XDG_CACHE_HOME:-$HOME/.cache}/asp}
: ${ASPCACHE:=$ASPROOT/cache}
m4_include(util.inc.sh)
diff --git a/man/asp.1.txt b/man/asp.1.txt
index ece47c8..925e287 100644
--- a/man/asp.1.txt
+++ b/man/asp.1.txt
@@ -108,7 +108,7 @@ Environment
-----------
*ASPROOT*::
Determines where the metadata is stored for locally tracked packages. Defaults
- to '$HOME/asp'.
+ to '${XDG_CACHE_HOME:-$HOME/.cache}/asp'.
*ASPCACHE*::
Determines where cached data is stored. Defaults to '$ASPROOT/cache'. Data in