From 688a03787d5927b55ff45bfd9e74fe35d0086230 Mon Sep 17 00:00:00 2001 From: clfreville2 Date: Mon, 19 Feb 2024 18:24:36 +0100 Subject: [PATCH] Keep quotes when passing args via SSH --- bin/vdn-drone | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/vdn-drone b/bin/vdn-drone index 8c43ec8..2327147 100755 --- a/bin/vdn-drone +++ b/bin/vdn-drone @@ -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}"