1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-25 16:40:07 -07:00

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

This commit is contained in:
Dylan Araps 2019-06-18 20:00:03 +03:00
parent 98e1a0dfd6
commit a054792622

4
kiss
View File

@ -275,9 +275,9 @@ main() {
mkdir -p "${cac_dir:=${XDG_CACHE_HOME:=$HOME/.cache}/$kiss}" \ mkdir -p "${cac_dir:=${XDG_CACHE_HOME:=$HOME/.cache}/$kiss}" \
"${src_dir:=$cac_dir/sources}" \ "${src_dir:=$cac_dir/sources}" \
"${mak_dir:=$cac_dir/build}" \ "${mak_dir:=$cac_dir/build-$$}" \
"${bin_dir:=$cac_dir/bin}" \ "${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}" || "${sys_db:=${sys_dir:=$KISS_ROOT}/var/db/$kiss}" ||
die "Couldn't create directories." die "Couldn't create directories."