1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-11 22:24:01 +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 cat > ${cfg} << _EOF
actions: actions:
pre: pre:
preaction: "echo {{@@ _dotfile_src @@}} > ${tmpa}/pre" preaction: "echo {{@@ _dotfile_src @@}} > {0}"
post: post:
postaction: "echo {{@@ _dotfile_src @@}} > ${tmpa}/post" postaction: "echo {{@@ _dotfile_src @@}} > ${tmpa}/post"
nakedaction: "echo {{@@ _dotfile_src @@}} > ${tmpa}/naked" nakedaction: "echo {{@@ _dotfile_src @@}} > ${tmpa}/naked"
@@ -68,7 +68,7 @@ config:
create: true create: true
dotpath: dotfiles dotpath: dotfiles
default_actions: default_actions:
- preaction - preaction "${tmpa}/pre"
- postaction - postaction
- nakedaction - nakedaction
dotfiles: dotfiles: