1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 17:24:46 +00:00

ensure action parametrization works

This commit is contained in:
deadc0de6
2019-05-01 16:16:17 +02:00
parent 44a26a261d
commit d7168285a5

View File

@@ -59,7 +59,7 @@ cfg="${tmps}/config.yaml"
cat > ${cfg} << _EOF
actions:
pre:
preaction: "echo {{@@ _dotfile_src @@}} > ${tmpa}/pre"
preaction: "echo {{@@ _dotfile_src @@}} > {0}"
post:
postaction: "echo {{@@ _dotfile_src @@}} > ${tmpa}/post"
nakedaction: "echo {{@@ _dotfile_src @@}} > ${tmpa}/naked"
@@ -68,7 +68,7 @@ config:
create: true
dotpath: dotfiles
default_actions:
- preaction
- preaction "${tmpa}/pre"
- postaction
- nakedaction
dotfiles: