Fix incorrect git ssh script

This commit is contained in:
Manuel Thalmann 2024-12-11 04:18:13 +01:00
parent 4161fce8d7
commit 99fa900c1a

View file

@ -89,7 +89,7 @@ begin
begin
printf "%s\n" \
"#!/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
sudo chmod +x "$bin"