From: Heikki Levanto Date: Tue, 9 Aug 2011 10:58:45 +0000 (+0000) Subject: Using port 222 on git.indexdata.dk X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=e3b8c4e49b10c58031459a5301b59363befd70ba;p=git-tools-moved-to-github.git Using port 222 on git.indexdata.dk --- diff --git a/id-new-project/id-new-project.sh b/id-new-project/id-new-project.sh index 803622e..f2690b2 100755 --- a/id-new-project/id-new-project.sh +++ b/id-new-project/id-new-project.sh @@ -39,7 +39,7 @@ if git clone --bare $SRC ${PROJ}.git; then chmod +x hooks/post-receive git config hooks.mailinglist gitid@indexdata.dk cd .. - scp -r ${PROJ}.git git.indexdata.com:/home/git/${TYPE} - ssh git.indexdata.com "cd /home/git/${TYPE}/${PROJ}.git && chmod -R g+w . && chgrp -R git . && find . -type d | xargs chmod g+s" + scp -P 222 -r ${PROJ}.git git.indexdata.com:/home/git/${TYPE} + ssh -p 222 git.indexdata.com "cd /home/git/${TYPE}/${PROJ}.git && chmod -R g+w . && chgrp -R git . && find . -type d | xargs chmod g+s" fi