aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-12-30 10:13:10 +0000
committermerakor <cem@ckyln.com>2020-12-30 10:13:10 +0000
commit8a274ee7e104bd484a395a922526551e6fe4046e (patch)
tree05f629844f0d646952c0022c27808d88bfc8e764 /src
parentb56ff62e6d3e423e715615ee22c7edc0ff1c6ede (diff)
downloadcpt-8a274ee7e104bd484a395a922526551e6fe4046e.tar.gz
cpt-lib: use the $CPT_CROSS_TRIPLET for bin_dir
FossilOrigin-Name: 4b3a1f4a3168086d118ec348c566879458b0be94f69e168e1a48aa48337d4b23
Diffstat (limited to 'src')
-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