fix path references for break-in stuff
authorPaul Crowley <paul@lshift.net>
Mon, 16 Jun 2008 17:23:05 +0100
changeset 35 0ed592d0f799
parent 34 4b5ca59fe3b7
child 36 b3237aabd0fe
fix path references for break-in stuff
src/init/break-in/break-in
src/init/break-in/create-breakin-repository
src/init/break-in/ssh-replacement
--- a/src/init/break-in/break-in	Mon Jun 16 17:17:29 2008 +0100
+++ b/src/init/break-in/break-in	Mon Jun 16 17:23:05 2008 +0100
@@ -4,7 +4,7 @@
 
 user=$(whoami)
 
-/usr/local/lib/hg-admin-tools/create-breakin-repository
+/usr/local/lib/hg-admin-tools/init/break-in/create-breakin-repository
 cd hgadmin
 mkdir -p keys
 ssh-add -L > keys/$user
--- a/src/init/break-in/create-breakin-repository	Mon Jun 16 17:17:29 2008 +0100
+++ b/src/init/break-in/create-breakin-repository	Mon Jun 16 17:23:05 2008 +0100
@@ -2,11 +2,11 @@
 
 set -e
 
-hg clone -e /usr/local/lib/hg-admin-tools/ssh-replacement ssh://localhost/hgadmin
+hg clone -e /usr/local/lib/hg-admin-tools/init/break-in/ssh-replacement ssh://localhost/hgadmin
 cd hgadmin
 cat >> .hg/hgrc << __END__
 [ui]
-ssh = /usr/local/lib/hg-admin-tools/ssh-replacement
+ssh = /usr/local/lib/hg-admin-tools/init/break-in/ssh-replacement
 __END__
 echo "cd to hgadmin, make changes and commit"
 
--- a/src/init/break-in/ssh-replacement	Mon Jun 16 17:17:29 2008 +0100
+++ b/src/init/break-in/ssh-replacement	Mon Jun 16 17:23:05 2008 +0100
@@ -3,5 +3,5 @@
 
 echo "arg: $2" >&2
 
-exec sudo -H -u hg /usr/local/lib/hg-admin-tools/as-if-by-ssh "$2"
+exec sudo -H -u hg /usr/local/lib/hg-admin-tools/init/break-in/as-if-by-ssh "$2"