From 8a274ee7e104bd484a395a922526551e6fe4046e Mon Sep 17 00:00:00 2001 From: merakor Date: Wed, 30 Dec 2020 10:13:10 +0000 Subject: cpt-lib: use the $CPT_CROSS_TRIPLET for bin_dir FossilOrigin-Name: 4b3a1f4a3168086d118ec348c566879458b0be94f69e168e1a48aa48337d4b23 --- 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 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 -- cgit v1.2.3