From f3f56aae04942115d1c20f161079b52fb0f0e509 Mon Sep 17 00:00:00 2001 From: Olinutz6995 Date: Mon, 17 Feb 2025 20:27:27 +0000 Subject: [PATCH] Fix: Handle passwords starting with $ in chmodplugins task #28 --- .vscode/tasks.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index c441ff9..26939ce 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -132,11 +132,12 @@ //Used chmod plugins folder to allow copy-over of files { "label": "chmodplugins", - "detail": "chmods plugins folder to prevent perms issues", + "detail": "chmods plugins folder to prevent permission issues", "type": "shell", "group": "none", - "command": "ssh ${config:deckuser}@${config:deckip} -p ${config:deckport} ${config:deckkey} 'echo '${config:deckpass}' | sudo -S chmod -R ug+rw ${config:deckdir}/homebrew/plugins/'", + "command": "ssh -i ${config:deckkey} ${config:deckuser}@${config:deckip} -p ${config:deckport} 'echo \"${config:deckpass}\" | sudo -S chmod -R ug+rw /home/deck/homebrew/plugins/'", "problemMatcher": [] - }, + } + ] }