diff options
author | Dave Reisner <dreisner@archlinux.org> | 2017-03-25 10:30:53 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2017-03-25 10:30:53 -0400 |
commit | 3229a0f2ba9c7b648f84858c019c852a35bb5ee6 (patch) | |
tree | 1a023afb0812243773b9ece8ab30746127d303ee | |
parent | c2b33327aa7b8faf3c88aeaa007e7eb4bba4869f (diff) | |
download | asp32-3229a0f2ba9c7b648f84858c019c852a35bb5ee6.tar.xz |
fix defaulting expansion in ASPROOT definition
And keep the doc up to date...
-rw-r--r-- | asp.in | 2 | ||||
-rw-r--r-- | man/asp.1.txt | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 |