]> Creatis software - creaToolsTools.git/blobdiff - Linux/scripts/ThirdParty-install-Base-Stuff.sh
Fix mistyping
[creaToolsTools.git] / Linux / scripts / ThirdParty-install-Base-Stuff.sh
index c2d69a5ba70a751078deaf7e1d45c0cff9e78fd3..df614d0ec1e408e6a3b053f177275f28560400b9 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
@@ -48,8 +50,8 @@ then
   # ///\TODO what about SuSE? Debian? Mandriva? Gentoo?
   case "$OperatingSystem" in
   Fedora)
-     yum install cmake                -y 
-     yum install cmake-gui            -y 
+     yum install cmake                -y
+     yum install cmake-gui            -y
      yum install doxygen              -y
      yum install graphviz             -y
      yum install texlive              -y
@@ -60,7 +62,7 @@ then
      yum install qt-devel             -y
      yum install mesa-libOSMesa-devel -y
      ;;
-  Ubuntu)  
+  Ubuntu)
      apt-get --yes install build-essential  # esta linea instala las librerias necesarias para compilar en ubuntu, g++ gcc etc etc etc.
      apt-get --yes install cmake
      apt-get --yes install cmake-gui
@@ -86,7 +88,7 @@ then
      port install cmake                -y
      port install doxygen              -y
      port install graphviz             -y
-    # port install tetex                -y   (replaced by texlive) # cf EED : http://www.creatis.insa-lyon.fr/site/fr/CreatoolsInstallInstructionsv2.0.1MacOsv10.5.6-Developpers
+    # port install tetex               -y   (replaced by texlive) # cf EED : http://www.creatis.insa-lyon.fr/site/fr/CreatoolsInstallInstructionsv2.0.1MacOsv10.5.6-Developpers
      port install texlive              -y
      port install latex2html           -y
      port install wxGTK                -y
@@ -101,9 +103,9 @@ then
      port install mesa                 -y
      ;;
   *)
-     #echo " '$OperatingSystem' : Unknown (for us...) Operating Sytem "
+     echo " '$OperatingSystem' : Unknown (for us...) Operating Sytem "
      echo " Allowed values are (right now) Fedora, Ubuntu, MacOS "
      exit 0
      ;;
-  esac             
+  esac
 fi