]> Creatis software - creaToolsTools.git/blobdiff - Linux/installscript
Merge branch 'master' of ssh://git.creatis.insa-lyon.fr/creaToolsTools
[creaToolsTools.git] / Linux / installscript
index df066e11837fcdbd1b3c11be8c568a7a3b91bd14..c8112ea419f088a586410ff75110cdebe057230c 100755 (executable)
@@ -346,9 +346,9 @@ fi
 if [ `checkVal $command all 3rd 3rd-base` == true ] ; then
     bigDisplay "INSTALL PACKAGES DEPENDENCIES"
     source scripts/CreaTools-configure.sh
-        cd scripts
+    cd scripts
     source ThirdParty-install-Base-Stuff.sh $OperatingSystem
-        cd ..
+    cd ..
     bash scripts/ThirdParty-install.sh
 fi
 
@@ -370,12 +370,9 @@ fi
 if [ `checkVal $command all 3rd 3rd-itk` == true ] ; then
     bigDisplay "INSTALL $ITKVersion"
     bash scripts/ThirdParty-install-ITK.sh
+    cd $scriptDirName
 fi
 
-## ??
-#if [ `checkVal $command all 3rd` == true ] ; then
-#    bash scripts/ThirdParty-install.sh
-#fi
 
 # Setup the user .bashrc correctly
 if [ `checkVal $command all 3rd 3rd-vtk 3rd-itk 3rd-gdcm 3rd-wx ` == true ] ; then
@@ -391,6 +388,8 @@ fi
 # compile creatools
 if [ `checkVal $command all creatools creatools-cmp` == true ] ; then
     bigDisplay "COMPILE CREATOOLS"
+echo "EED installscript compile creatools"
+echo $ETC_BASHRC
     source $ETC_BASHRC
     bash -x scripts/CreaTools-compile.sh