Keep quotes when passing args via SSH

main
Clément FRÉVILLE 9 months ago
parent ac6c4d62d4
commit 688a03787d

@ -56,4 +56,4 @@ vdn-set-network-dir docker
vdn-ssh root@debian-1 "export https_proxy=$http_proxy; if ! test -f /usr/local/bin/drone; then curl -L https://github.com/harness/drone-cli/releases/latest/download/drone_linux_amd64.tar.gz | tar zx && install -t /usr/local/bin drone; fi"
vdn-ssh root@debian-1 "rm -rf /tmp/$PWD"
vdn-rsync -a --filter=':- .gitignore' --relative $PWD test@debian-1:/tmp
vdn-ssh test@debian-1 "export https_proxy=$https_proxy; cd /tmp$PWD && drone $*"
vdn-ssh test@debian-1 "export https_proxy=$https_proxy; cd /tmp$PWD && drone ${@@Q}"

Loading…
Cancel
Save