Fixed usage to use id-new-project.sh
[git-tools-moved-to-github.git] / id-new-project / id-new-project.sh
index 42d9410..507dc06 100755 (executable)
@@ -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
 }
 
@@ -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 ..