Fix incorrect git ssh script

This commit is contained in:
Manuel Thalmann 2024-12-11 04:18:13 +01:00
parent c969deb7b1
commit 4bea622902

View file

@ -89,7 +89,7 @@ begin
begin begin
printf "%s\n" \ printf "%s\n" \
"#!/bin/sh" \ "#!/bin/sh" \
"ssh -p $port -o StrictHostKeyChecking=no git@127.0.0.1 \"SSH_ORIGINAL_COMMAND=\\\"$SSH_ORIGINAL_COMMAND\\\" \$0 \$@\"" "ssh -p $port -o StrictHostKeyChecking=no git@127.0.0.1 \"SSH_ORIGINAL_COMMAND=\\\"\$SSH_ORIGINAL_COMMAND\\\" \$0 \$@\""
end | sudo tee "$bin" >/dev/null end | sudo tee "$bin" >/dev/null
sudo chmod +x "$bin" sudo chmod +x "$bin"