::set creatoolsBranch=vtk8itk5wx3-mingw64
set creatoolsBranch=vtk9itk5wx3-macos
+
+echo echo tmp.bat > tmp.bat
+::set creatoolsGeneration2=%creatoolsGeneration:\=/%
+echo mkdir %creatoolsGeneration% >> tmp.bat
+echo mkdir %creatoolsGeneration%\cs >> tmp.bat
+echo cd %creatoolsGeneration%\cs >> tmp.bat
+
::goto SkipEED1
:SkipEED1
-echo echo tmp.sh > tmp.sh
-set creatoolsGeneration2=%creatoolsGeneration:\=/%
-echo mkdir %creatoolsGeneration2% >> tmp.sh
-echo mkdir %creatoolsGeneration2%/cs >> tmp.sh
-echo cd %creatoolsGeneration2%/cs >> tmp.sh
-
-echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creasource% >> tmp.sh
-echo cd %creasource% >> tmp.sh
-echo git checkout %creatoolsBranch% >> tmp.sh
-echo cd .. >> tmp.sh
-
-echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%bbtksource% >> tmp.sh
-echo cd %bbtksource% >> tmp.sh
-echo git checkout %creatoolsBranch% >> tmp.sh
-echo cd .. >> tmp.sh
-
-echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creamaracassource% >> tmp.sh
-echo cd %creamaracassource% >> tmp.sh
-echo git checkout %creatoolsBranch% >> tmp.sh
-echo cd .. >> tmp.sh
-
-echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creavtksource% >> tmp.sh
-echo cd %creavtksource% >> tmp.sh
-echo git checkout %creatoolsBranch% >> tmp.sh
-echo cd .. >> tmp.sh
-
-echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creaenvironmentsource% >> tmp.sh
-echo cd %creaenvironmentsource% >> tmp.sh
-echo git checkout %creatoolsBranch% >> tmp.sh
-echo cd .. >> tmp.sh
-
-echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creabrukersource% >> tmp.sh
-echo cd %creabrukersource% >> tmp.sh
-echo git checkout %creatoolsBranch% >> tmp.sh
-echo cd .. >> tmp.sh
-
-echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creaimagesource% >> tmp.sh
-echo cd %creaimagesource% >> tmp.sh
-echo git checkout %creatoolsBranch% >> tmp.sh
-echo cd .. >> tmp.sh
-
-echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creacontourssource% >> tmp.sh
-echo cd %creacontourssource% >> tmp.sh
-echo git checkout %creatoolsBranch% >> tmp.sh
-echo cd .. >> tmp.sh
-
-echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%crearigidregistrationssource% >> tmp.sh
-echo cd %crearigidregistrationssource% >> tmp.sh
-echo git checkout %creatoolsBranch% >> tmp.sh
-echo cd .. >> tmp.sh
-
-echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%bbtkgeditorsource% >> tmp.sh
-echo cd %bbtkgeditorsource% >> tmp.sh
-echo git checkout %creatoolsBranch% >> tmp.sh
-echo cd .. >> tmp.sh
-
-echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creaminitoolssource% >> tmp.sh
-echo cd %creaminitoolssource% >> tmp.sh
-echo git checkout %creatoolsBranch% >> tmp.sh
-echo cd .. >> tmp.sh
-
-echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creatoolssource% >> tmp.sh
-echo cd %creatoolssource% >> tmp.sh
-echo git checkout %creatoolsBranch% >> tmp.sh
-echo cd .. >> tmp.sh
-
-echo call gitcall.bat "%cd%\tmp.sh"
-call gitcall.bat "%cd%\tmp.sh"
+
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creasource% >> tmp.bat
+echo cd %creasource% >> tmp.bat
+echo git checkout %creatoolsBranch% >> tmp.bat
+echo cd .. >> tmp.bat
+
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%bbtksource% >> tmp.bat
+echo cd %bbtksource% >> tmp.bat
+echo git checkout %creatoolsBranch% >> tmp.bat
+echo cd .. >> tmp.bat
+
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creamaracassource% >> tmp.bat
+echo cd %creamaracassource% >> tmp.bat
+echo git checkout %creatoolsBranch% >> tmp.bat
+echo cd .. >> tmp.bat
+
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creavtksource% >> tmp.bat
+echo cd %creavtksource% >> tmp.bat
+echo git checkout %creatoolsBranch% >> tmp.bat
+echo cd .. >> tmp.bat
+
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creaenvironmentsource% >> tmp.bat
+echo cd %creaenvironmentsource% >> tmp.bat
+echo git checkout %creatoolsBranch% >> tmp.bat
+echo cd .. >> tmp.bat
+
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creabrukersource% >> tmp.bat
+echo cd %creabrukersource% >> tmp.bat
+echo git checkout %creatoolsBranch% >> tmp.bat
+echo cd .. >> tmp.bat
+
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creaimagesource% >> tmp.bat
+echo cd %creaimagesource% >> tmp.bat
+echo git checkout %creatoolsBranch% >> tmp.bat
+echo cd .. >> tmp.bat
+
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creacontourssource% >> tmp.bat
+echo cd %creacontourssource% >> tmp.bat
+echo git checkout %creatoolsBranch% >> tmp.bat
+echo cd .. >> tmp.bat
+
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%crearigidregistrationssource% >> tmp.bat
+echo cd %crearigidregistrationssource% >> tmp.bat
+echo git checkout %creatoolsBranch% >> tmp.bat
+echo cd .. >> tmp.bat
+
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%bbtkgeditorsource% >> tmp.bat
+echo cd %bbtkgeditorsource% >> tmp.bat
+echo git checkout %creatoolsBranch% >> tmp.bat
+echo cd .. >> tmp.bat
+
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creaminitoolssource% >> tmp.bat
+echo cd %creaminitoolssource% >> tmp.bat
+echo git checkout %creatoolsBranch% >> tmp.bat
+echo cd .. >> tmp.bat
+
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creatoolssource% >> tmp.bat
+echo cd %creatoolssource% >> tmp.bat
+echo git checkout %creatoolsBranch% >> tmp.bat
+echo cd .. >> tmp.bat
+
+
+
+echo call gitcall.bat "%cd%\tmp.bat"
+::gitcall.bat "%cd%\tmp.bat"
+call tmp.bat
echo
echo
echo end of downloading creatools software
+
+
exit