From 8a9c45e31ab6957f8e07873448b7f138f0774ed1 Mon Sep 17 00:00:00 2001 From: merakor Date: Wed, 8 Sep 2021 18:49:03 +0000 Subject: main(): fix variable declaration FossilOrigin-Name: b245d7447ca4e01a66d827e956892ad6304144382d0654be33aa9732a75b61ee --- src/cpt-lib.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3