Browse Source

Escape ssh command path

master
GoFish 5 years ago
parent
commit
b21e87ad19
  1. 2
      windows_to_go.ps1

2
windows_to_go.ps1

@ -46,7 +46,7 @@ if (Test-Path -Path "$env:userprofile\password-store\*") {
# Clone pass repo for QtPass # Clone pass repo for QtPass
$env:GIT_SSH_VARIANT="ssh" $env:GIT_SSH_VARIANT="ssh"
$env:GIT_SSH_COMMAND="C:\Windows\System32\OpenSSH\ssh.exe -o StrictHostKeyChecking=no -i `"$env:userprofile\.ssh\windows_to_go_ssh_pass_ed25519`"" $env:GIT_SSH_COMMAND="`"C:\Windows\System32\OpenSSH\ssh.exe`" -o StrictHostKeyChecking=no -i `"$env:userprofile\.ssh\windows_to_go_ssh_pass_ed25519`""
if (Test-Path -Path "$env:userprofile\password-store" -PathType Container) { if (Test-Path -Path "$env:userprofile\password-store" -PathType Container) {
cd "$env:userprofile\password-store" cd "$env:userprofile\password-store"
git pull git pull

Loading…
Cancel
Save