]> Creatis software - creaToolsTools.git/commitdiff
fix generation dir
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Wed, 15 Jun 2011 16:31:50 +0000 (16:31 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Wed, 15 Jun 2011 16:31:50 +0000 (16:31 +0000)
Linux/menu.sh
Linux/scripts/ThirdParty-install-VTK.sh

index f3da99761256d17f8810aec1615b3b58594ad3e0..78252d59aa425a3bef72a6c0f3666251af6742ec 100644 (file)
@@ -21,11 +21,11 @@ do
 
    if [ $expanded = "YES" ]
    then 
-      echo " install all base stuff  :..    ....1.0"
+      echo " Install all base stuff  :..........1.0"
       echo "        (cmake, doxygen, graphviz, ...)"
-      echo " Get and Compile  vtk :..    .......1.1"                
-      echo " Get and Compile  gdcm :..    ......1.2" 
-      echo " Get and Compile  itk :..    .......1.3"
+      echo " Get, Compile, Install vtk   .......1.1"                
+      echo " Get, Compile, Install gdcm :.. .  .1.2" 
+      echo " Get, Compile, Install itk  :.......1.3"
 
    else
       echo " Install Third Party Libraries :....1 (as root)"   
@@ -154,14 +154,16 @@ do
         echo "you said : [" $corenumber "]"
 
         echo
-        echo   
-
+        echo
+               
+        racine=$HOME/myDefaultCreatoolsGenerationDir
         # ------------------
-        echo "Name of the Generation Directory (default is ~/myDefaultGenerationDir)"
+        echo "Name of the Generation Directory (default is $racine)"
         read generationdir
         if [ "$generationdir" = "" ]
         then
-           generationdir="~/myDefaultGenerationDir"
+          
+           generationdir=$racine
         fi
         echo "you said : [" $generationdir "]"
 
index 985474d397c57252dbb0ec6ba73c0aa5575e6976..f2a0b21a14d221337d7f5a2d4c124b74e01e2a39 100644 (file)
@@ -72,12 +72,14 @@ fi
 # the following stupid test is used at debug time; Please don't remove!
 #if [ true = false ]
 if [ true = true ]
-then
+then  
+
   libname=VTK
   dirInstall=$binDir/$libname-Bin
   dirInstallVTK=$dirInstall
   export VTK_DIR=$installPrefixThird/lib/vtk-5.6/
   mkdir $dirInstall
+  echo "we prepare directories dirInstallVTK " $dirInstallVTK  " VTK_DIR " $installPrefixThird/lib/vtk-5.6/
   cd $dirInstall
  
   cmake -G"Unix Makefiles" -H$sourcesDir/$libname -B$dirInstall/