diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-06-18 17:00:02 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-06-18 17:00:02 +0000 |
commit | 690375e24af4c8c4cd8fa578a68d4b519ac46e41 (patch) | |
tree | e3a42b0b45b6ea4dbe93f0999f9b01ff7ff5ea66 | |
parent | 498d51b32fee53ec91510057b2644e5dc3c76f3c (diff) | |
download | cpt-690375e24af4c8c4cd8fa578a68d4b519ac46e41.tar.gz |
kiss: Make build/pkg directories unique to each kiss invocation. Closes #15
FossilOrigin-Name: 2aed0818d9e0dd757f8e5e8059b2ad4e8011065f2f46c824f1fb280a6371bc53
-rwxr-xr-x | kiss | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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." |