Clean up tmp after push

This commit is contained in:
Loic Nageleisen 2018-06-25 11:07:59 +02:00
parent 44eeefea79
commit 1968d47f2f

2
push
View file

@ -42,4 +42,4 @@ if scp -q -r "${APPLY_ROOT}"/{groups,units,run,lib} "$remote":"$tmp"; then
fi fi
# shellcheck disable=SC2029 # shellcheck disable=SC2029
ssh -A "$remote" "cd '$tmp'; ./run $vflag ${targets[*]}" ssh -A "$remote" "cd '$tmp' && ./run $vflag ${targets[*]} && cd -; rm -rf '$tmp'"