summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2017-03-25 10:30:53 -0400
committerDave Reisner <dreisner@archlinux.org>2017-03-25 10:30:53 -0400
commit3229a0f2ba9c7b648f84858c019c852a35bb5ee6 (patch)
tree1a023afb0812243773b9ece8ab30746127d303ee
parentc2b33327aa7b8faf3c88aeaa007e7eb4bba4869f (diff)
downloadasp32-3229a0f2ba9c7b648f84858c019c852a35bb5ee6.tar.xz
fix defaulting expansion in ASPROOT definition
And keep the doc up to date...
-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