src/init/break-in/as-if-by-ssh
changeset 36 b3237aabd0fe
parent 34 4b5ca59fe3b7
equal deleted inserted replaced
35:0ed592d0f799 36:b3237aabd0fe
     4 set -e
     4 set -e
     5 SSH_ORIGINAL_COMMAND=$1
     5 SSH_ORIGINAL_COMMAND=$1
     6 echo "SSH_ORIGINAL_COMMAND=$SSH_ORIGINAL_COMMAND" >&2
     6 echo "SSH_ORIGINAL_COMMAND=$SSH_ORIGINAL_COMMAND" >&2
     7 export SSH_ORIGINAL_COMMAND
     7 export SSH_ORIGINAL_COMMAND
     8 cd
     8 cd
     9 exec /etc/hg-admin-tools/hg-ssh-wrapper root
     9 exec /etc/mercurial-server/hg-ssh-wrapper root
    10 
    10