feat(install-script): mktemp with template
This commit is contained in:
parent
aa528dea3a
commit
6c3c27082b
2
install
2
install
@ -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 "$@" ;;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user