feat(install-script): mktemp with template

This commit is contained in:
TheK4n 2023-10-14 16:49:33 +03:00
parent aa528dea3a
commit 6c3c27082b

View File

@ -225,7 +225,7 @@ cmd_list() {
cmd_install() { cmd_install() {
local target local target
for target in "$@"; do for target in "$@"; do
SANDBOX_PATH="$(mktemp -d)" SANDBOX_PATH="$(mktemp -td "$USER.dotfiles_XXXXXXX")"
case "$target" in case "$target" in
bash) shift; cmd_bash "$@" ;; bash) shift; cmd_bash "$@" ;;
zsh) shift; cmd_zsh "$@" ;; zsh) shift; cmd_zsh "$@" ;;