mirror of
https://github.com/akpall/akpella.git
synced 2026-02-21 00:26:59 +00:00
fixup! Makefile: reset only if config.json is changed
This commit is contained in:
2
Makefile
2
Makefile
@@ -6,7 +6,7 @@ config.json: config.yaml
|
|||||||
< config.yaml > config.json
|
< config.yaml > config.json
|
||||||
|
|
||||||
.reset: config.json
|
.reset: config.json
|
||||||
rm .reset
|
-rm .reset
|
||||||
ssh -o ControlMaster=auto -o ControlPath=/tmp/ssh_mux_%h_%p_%r -o ControlPersist=10s -fN akpella && \
|
ssh -o ControlMaster=auto -o ControlPath=/tmp/ssh_mux_%h_%p_%r -o ControlPersist=10s -fN akpella && \
|
||||||
TEMPDIR=$$(ssh -o ControlPath=/tmp/ssh_mux_%h_%p_%r akpella "cd /tmp && mktemp -d") && \
|
TEMPDIR=$$(ssh -o ControlPath=/tmp/ssh_mux_%h_%p_%r akpella "cd /tmp && mktemp -d") && \
|
||||||
scp -o ControlPath=/tmp/ssh_mux_%h_%p_%r config.json akpella:$${TEMPDIR} && \
|
scp -o ControlPath=/tmp/ssh_mux_%h_%p_%r config.json akpella:$${TEMPDIR} && \
|
||||||
|
|||||||
Reference in New Issue
Block a user