]> Creatis software - creaToolsTools.git/blobdiff - Linux/scripts/ThirdParty-install-ITK.sh
Fix mistyping
[creaToolsTools.git] / Linux / scripts / ThirdParty-install-ITK.sh
index 9a8f3e3b66b30cf6856c63cfc308b9bbf9aa9ce1..3d4e271f58227f6f7b0380f6d8699d01da0b78c5 100644 (file)
@@ -1,4 +1,5 @@
 #!/bin/bash
+
  if [ ! -f $PWD/scripts/CreaTools-configure.sh ]
  then 
    echo
@@ -13,6 +14,7 @@
    exit 0
 fi
 
+source $PWD/scripts/CreaTools-configure.sh
 
 scriptDir=$PWD
 sourcesDir=$generationdir/thirdparty_sources
@@ -43,17 +45,17 @@ fi
 
   echo "we remove old stuff"
   rm -rf $sourcesDir/InsightToolkit*
-  
+
  cd $sourcesDir
+
  if [ $OperatingSystem = "MacOS" ]
-   then            
+   then
     curl -O http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/InsightToolkit-3.20.0.tar.gz    # MacOS, clever enough to understand it *has* to uncompress, doesn't understand tar -z :-(
     tar -xvf InsightToolkit-3.20.0.tar.gz
    else
     wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/InsightToolkit-3.20.0.tar.gz
  fi
+
 if [ $buildType = "Debug" ]
 then
    debug="ON"