if [ true = true ]
then
-rm -rf creatools_bin/creaBin
-rm -rf creatools_bin/bbtkBin
-rm -rf creatools_bin/creamaracasBin
-rm -rf creatools_bin/creaEnvironmentBin
-rm -rf creatools_bin/creaBrukerBin
-rm -rf creatools_bin/creaImageIOBin
-rm -rf creatools_bin/creaContoursBin
-rm -rf creatools_bin/creaRigidRegistrationBin
-rm -rf creatools_bin/bbtkGEditorBin
-rm -rf creatools_bin/creaToolsBin
+sudo rm -rf creatools_bin/creaBin
+sudo rm -rf creatools_bin/bbtkBin
+sudo rm -rf creatools_bin/creamaracasBin
+sudo rm -rf creatools_bin/creaEnvironmentBin
+sudo rm -rf creatools_bin/creaBrukerBin
+sudo rm -rf creatools_bin/creaImageIOBin
+sudo rm -rf creatools_bin/creaContoursBin
+sudo rm -rf creatools_bin/creaRigidRegistrationBin
+sudo rm -rf creatools_bin/bbtkGEditorBin
+sudo rm -rf creatools_bin/creaToolsBin
sh $scriptDir/cvscheckout.sh $creasource $generationdir $cvsUserName
sh $scriptDir/cvscheckout.sh $bbtksource $generationdir $cvsUserName
rm -rf $sources/vtk*
rm -rf $sources/InsightToolkit*
rm -rf $sources/gdcm*
- cd $sources
+ cd $sourcesDir
wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/vtk-5.6.1.tar.gz
wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/gdcm_08_Dic_2009.tar.gz
wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/InsightToolkit-3.20.0.tar.gz