aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cpt-lib.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpt-lib.in b/src/cpt-lib.in
index 83f7012..ce4d47f 100644
--- a/src/cpt-lib.in
+++ b/src/cpt-lib.in
@@ -2167,7 +2167,7 @@ create_cache() {
# shell hack, but it made the variables editable outside of the package
# manager, but we don't actually want that. Variables that are lower case
# aren't meant to be interacted or set by the user.
- cac_dir=${CPT_CACHE:=$XDG_CACHE_HOME:-${HOME:?}/.cache}/cpt
+ cac_dir=${CPT_CACHE:=${XDG_CACHE_HOME:-${HOME:?}/.cache}}/cpt
src_dir=$cac_dir/sources
log_dir=$cac_dir/logs
bin_dir=$cac_dir/bin