cpt

Carbs Packaging Tools
git clone git://git.carbslinux.org/cpt
Log | Files | Refs | README | LICENSE

commit ff96601dbf5636ee994fb1aac7c56c472cc429d5
parent 9e64165ec164d36e42b2963cda6fd126240a3e92
Author: Cem Keylan <cem@ckyln.com>
Date:   Wed, 11 Nov 2020 15:05:47 +0300

create_cache(): create multi-level temporary directories per process

Diffstat:
Msrc/cpt-lib | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/cpt-lib b/src/cpt-lib @@ -1767,10 +1767,10 @@ create_cache() { # # Create the required temporary directories and set the variables # which point to them. - mkdir -p "${CPT_TMPDIR:=$cac_dir}" \ - "${mak_dir:=$CPT_TMPDIR/build-$pid}" \ - "${pkg_dir:=$CPT_TMPDIR/pkg-$pid}" \ - "${tar_dir:=$CPT_TMPDIR/extract-$pid}" \ + mkdir -p "${CPT_TMPDIR:=$cac_dir/proc}" \ + "${mak_dir:=$CPT_TMPDIR/$pid/build}" \ + "${pkg_dir:=$CPT_TMPDIR/$pid/pkg}" \ + "${tar_dir:=$CPT_TMPDIR/$pid/export}" }