projects
/
git-tools-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enable selective update. First parameter is list of distributions. If empty, all
[git-tools-moved-to-github.git]
/
id-new-project
/
id-new-project.sh
diff --git
a/id-new-project/id-new-project.sh
b/id-new-project/id-new-project.sh
index
507dc06
..
f2690b2
100755
(executable)
--- a/
id-new-project/id-new-project.sh
+++ b/
id-new-project/id-new-project.sh
@@
-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
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 ..
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
fi