X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=id-new-project%2Fid-new-project.sh;h=0f615bea7cc33ee09f6925215e90cf40f3fa9269;hb=99e9ea4189348c60ee9bb91d1a4aaf873be5099d;hp=42d94105fd3896023122bd30c7da7c5984920c4a;hpb=cb9a75f74657b43f2ea42537f4584488b658c04b;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 42d9410..0f615be 100755 --- a/id-new-project/id-new-project.sh +++ b/id-new-project/id-new-project.sh @@ -16,8 +16,8 @@ if test -z "${TYPE}"; then usage fi -if test ! -e post-receive-email-id; then - echo "file post-receive-email-id must be in current directory" +if test ! -e post-receive; then + echo "file post-receive must be in the current directory" exit 1 fi @@ -34,7 +34,7 @@ if git clone --bare $SRC ${PROJ}.git; then touch git-daemon-export-ok echo "${DESC}" >description git config core.sharedRepository true - cp ../post-receive-email-id hooks/post-receive + cp ../post-receive hooks/post-receive chmod +x hooks/post-receive git config hooks.mailinglist gitid@indexdata.dk cd ..