From 690375e24af4c8c4cd8fa578a68d4b519ac46e41 Mon Sep 17 00:00:00 2001 From: "dylan.araps@gmail.com" Date: Tue, 18 Jun 2019 17:00:02 +0000 Subject: kiss: Make build/pkg directories unique to each kiss invocation. Closes #15 FossilOrigin-Name: 2aed0818d9e0dd757f8e5e8059b2ad4e8011065f2f46c824f1fb280a6371bc53 --- kiss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kiss') diff --git a/kiss b/kiss index 34a55b0..ab86070 100755 --- 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." -- cgit v1.2.3