X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=id-new-project%2Fid-new-project.sh;h=f2690b298cef84a054753d5a18d59d22446e19ab;hb=a7efd4d7ca25565c8fb8e9a84892abb6adfbb6d3;hp=0f615bea7cc33ee09f6925215e90cf40f3fa9269;hpb=99e9ea4189348c60ee9bb91d1a4aaf873be5099d;p=git-tools-moved-to-github.git diff --git a/id-new-project/id-new-project.sh b/id-new-project/id-new-project.sh index 0f615be..f2690b2 100755 --- a/id-new-project/id-new-project.sh +++ b/id-new-project/id-new-project.sh @@ -2,9 +2,9 @@ usage() { echo "Usage:" - echo "id-new-git.sh srcdir description {pub/private}" + echo "id-new-project.sh srcdir description {pub/private}" echo "For example:" - echo "id-new-git.sh ../myproj \"Which does good things\" private" + echo "id-new-project.sh ../myproj \"Which does good things\" private" exit 1 } @@ -34,11 +34,12 @@ if git clone --bare $SRC ${PROJ}.git; then touch git-daemon-export-ok echo "${DESC}" >description git config core.sharedRepository true + git config core.ignorecase true cp ../post-receive hooks/post-receive 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