From f638242d6e81b72f8e0ea11a4f8c3c84099fd5b6 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 25 Mar 2017 07:56:11 -0400 Subject: move default ASPROOT to XDG_CACHE_HOME or similar Others have asked for this in the past, see: https://github.com/falconindy/asp/issues/7#issuecomment-57004965 https://github.com/falconindy/asp/pull/9 asp might get more traction with the prospect of it more widely replacing ABS, and I suspect this will come up again. --- asp.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asp.in b/asp.in index ea1150f..499af2f 100644 --- a/asp.in +++ b/asp.in @@ -4,7 +4,7 @@ ARCH_GIT_REPOS=(packages community) OPT_ARCH=$(uname -m) OPT_FORCE=0 -: ${ASPROOT:=$HOME/asp} +: ${ASPROOT:=${XDG_CACHE_HOME:-$HOME/.cache/asp}} : ${ASPCACHE:=$ASPROOT/cache} m4_include(util.inc.sh) -- cgit v1.2.3-54-g00ecf