ssh-replacement
author Paul Crowley <paul@lshift.net>
Mon, 16 Jun 2008 17:12:20 +0100
changeset 33 18e93dbdaf12
parent 32 4059dbe9f26a
permissions -rwxr-xr-x
moved stuff into subdirectories
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
32
4059dbe9f26a new break-in system
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     1
#!/bin/sh
4059dbe9f26a new break-in system
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     2
# Used only for break-ins
4059dbe9f26a new break-in system
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     3
4059dbe9f26a new break-in system
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     4
echo "arg: $2" >&2
4059dbe9f26a new break-in system
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     5
4059dbe9f26a new break-in system
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     6
exec sudo -H -u hg /usr/local/lib/hg-admin-tools/as-if-by-ssh "$2"
4059dbe9f26a new break-in system
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     7