X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;ds=sidebyside;f=vm_remote;h=0fa0165a155c2c7f4e634e93967def77af3b19a9;hb=36f68a87aac099e21c72cbf1444ceaf75333e47c;hp=c167f30adaec6a761e73e8f0bc08993d316546d5;hpb=2d48a198262604098443c6a90e58b0084600a4d7;p=lhc%2Fateliers.git diff --git a/vm_remote b/vm_remote index c167f30..0fa0165 100755 --- a/vm_remote +++ b/vm_remote @@ -27,10 +27,10 @@ rule_git_configure () { # DESCRIPTION: configure ./.git correctement ( cd "$tool" git remote rm host || true - git remote add host $vm_host:tool/vm + git remote add host $vm_host:src/vm git config --replace remote.host.push HEAD:refs/remotes/master git remote rm hosted || true - git remote add hosted root@$vm_fqdn:tool/vm + git remote add hosted $vm_fqdn:src/vm git config --replace remote.hosted.push HEAD:refs/remotes/master git submodule update --init ) @@ -130,7 +130,7 @@ rule_dovecot_key_send () { /etc/dovecot/"$vm_domainname"/imap/x509/key.pem ' } -rule_gitolite_configure () { +rule_gitolite_git () { ( cd "$tool"/etc/gitolite GIT_SSH=../../lib/ssh \ @@ -138,29 +138,33 @@ rule_gitolite_configure () { SSH_ASKPASS='"$tool"'/lib/ssh-pass \ SSH_ID=git \ ssh-add '"$tool"'/var/sec/ssh/git