mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-25 16:40:07 -07:00
kiss: Added KISS_TMPDIR
This commit is contained in:
parent
f5d0fe0a5f
commit
f095e9fb98
6
kiss
6
kiss
@ -1647,9 +1647,9 @@ main() {
|
|||||||
# Create the required temporary directories and set the variables
|
# Create the required temporary directories and set the variables
|
||||||
# which point to them.
|
# which point to them.
|
||||||
mkdir -p "${cac_dir:=${XDG_CACHE_HOME:-$HOME/.cache}/kiss}" \
|
mkdir -p "${cac_dir:=${XDG_CACHE_HOME:-$HOME/.cache}/kiss}" \
|
||||||
"${mak_dir:=$cac_dir/build-$pid}" \
|
"${mak_dir:=${KISS_TMPDIR:-$cac_dir}/build-$pid}" \
|
||||||
"${pkg_dir:=$cac_dir/pkg-$pid}" \
|
"${pkg_dir:=${KISS_TMPDIR:-$cac_dir}/pkg-$pid}" \
|
||||||
"${tar_dir:=$cac_dir/extract-$pid}" \
|
"${tar_dir:=${KISS_TMPDIR:-$cac_dir}/extract-$pid}" \
|
||||||
"${src_dir:=$cac_dir/sources}" \
|
"${src_dir:=$cac_dir/sources}" \
|
||||||
"${log_dir:=$cac_dir/logs}" \
|
"${log_dir:=$cac_dir/logs}" \
|
||||||
"${bin_dir:=$cac_dir/bin}"
|
"${bin_dir:=$cac_dir/bin}"
|
||||||
|
5
kiss.1
5
kiss.1
@ -85,6 +85,11 @@ export KISS_FORCE=0
|
|||||||
#
|
#
|
||||||
export KISS_HOOK=/path/to/script
|
export KISS_HOOK=/path/to/script
|
||||||
|
|
||||||
|
# Temporary directory (for builds).
|
||||||
|
# Allows one to build packages in ram or another location.
|
||||||
|
#
|
||||||
|
export KISS_TMPDIR=""
|
||||||
|
|
||||||
# Root directory.
|
# Root directory.
|
||||||
#
|
#
|
||||||
# Where installed packages will go. You won't ever need
|
# Where installed packages will go. You won't ever need
|
||||||
|
Loading…
Reference in New Issue
Block a user