aboutsummaryrefslogtreecommitdiff
path: root/src/cpt-lib.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpt-lib.in')
-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 daecf30..a91e075 100644
--- a/src/cpt-lib.in
+++ b/src/cpt-lib.in
@@ -1835,7 +1835,7 @@ create_cache() {
mkdir -p "${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}"
+ "${bin_dir:=$cac_dir/$CPT_CROSS_TRIPLET${CPT_CROSS_TRIPLET:+-}bin}"
# Set the location to the repository and package database.
pkg_db=var/db/cpt/installed