cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit a054792622a4d8b00a32b650b8de718a4cc2a4a9
parent 98e1a0dfd6ea5393bb16bda1725f37932de12ad9
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Tue, 18 Jun 2019 20:00:03 +0300

kiss: Make build/pkg directories unique to each kiss invocation. Closes #15

Diffstat:
Mkiss | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kiss b/kiss @@ -275,9 +275,9 @@ main() { mkdir -p "${cac_dir:=${XDG_CACHE_HOME:=$HOME/.cache}/$kiss}" \ "${src_dir:=$cac_dir/sources}" \ - "${mak_dir:=$cac_dir/build}" \ + "${mak_dir:=$cac_dir/build-$$}" \ "${bin_dir:=$cac_dir/bin}" \ - "${pkg_db:=${pkg_dir:=$cac_dir/pkg}/var/db/$kiss}" \ + "${pkg_db:=${pkg_dir:=$cac_dir/pkg-$$}/var/db/$kiss}" \ "${sys_db:=${sys_dir:=$KISS_ROOT}/var/db/$kiss}" || die "Couldn't create directories."