]> Creatis software - creaToolsTools.git/blob - Linux/scripts/gitclone.sh
Added a new installation mode : via git repository without authentification (option...
[creaToolsTools.git] / Linux / scripts / gitclone.sh
1 #$1 creasource                   
2 #$2 generationdir 
3 #$3 sourcesFrom (either GIT or GIT-READ-ONLY)
4
5 cd $2/creatools_source 
6
7 if [ $sourcesFrom = GIT ]
8 then
9 git clone ssh://gitolite@git.creatis.insa-lyon.fr/$1
10
11 else # $sourcesFrom = GIT-READ-ONLY , anonymous access
12 git clone git://git.creatis.insa-lyon.fr/$1
13
14 fi
15
16 cd ..
17