]> Creatis software - creaToolsTools.git/blobdiff - Linux/menu.sh
Feature #1525 --- creaThirdParty Libraries (Debug version)
[creaToolsTools.git] / Linux / menu.sh
index 618a633fa0875960c59c8a5c72d0380150422cb1..69090bb3804a0d67c5eafc12297cb278f8fb3055 100644 (file)
@@ -26,6 +26,7 @@ do
       echo " Get, Compile, Install vtk   .......1.1"                
       echo " Get, Compile, Install gdcm :.. .  .1.2" 
       echo " Get, Compile, Install itk  :.......1.3"
+      echo " Get, Compile, Install Wx (for Mac Users)  :…....1.4"
 
    else
       echo " Install Third Party Libraries :....1 (as root)"   
@@ -60,7 +61,7 @@ do
 
   case $i in
   0)
-  
+
   # Do it, while we are under user, not under root! # JPR
              if [ -f $HOME/.bashrc ]
              then
@@ -75,7 +76,7 @@ do
                        read a # just to let the user time enough to read the message...
                     fi
           fi
-         
+
   clear
   suitable=XXX
   #ls -l  scripts/CreaTools-configure.sh
@@ -101,7 +102,7 @@ do
         then
            echo WARNING
            echo "the curently used Third Party libraries are NOT in $installPrefixThird but ... in :"
-           grep "installPrefixThird=" $ETC_BASHRC 
+           grep "installPrefixThird=" $ETC_BASHRC
            echo "VTK_DIR  : " $VTK_DIR
            echo "ITK_DIR  : " $ITK_DIR
            echo "GDCM_DIR : " $GDCM_DIR
@@ -210,9 +211,9 @@ then
               docgeneration="OFF"
            fi
            echo "you said : [" $docgeneration "]"
-         done
-         echo
-         echo
+        done
+        echo
+        echo
 fi
 
 docgeneration="OFF"
@@ -379,9 +380,7 @@ docgeneration="OFF"
   fi 
   ;;
   
-  1)    
-     echo "===================================at begin 1) ======ETC_BASHRC : " $ETC_BASHRC
-     read a
+  1)
      echo "========================== 1 "
      source scripts/Check-if-root.sh
      bash scripts/ThirdParty-install-Base-Stuff.sh     
@@ -389,20 +388,19 @@ docgeneration="OFF"
      bash scripts/ThirdParty-install-gdcm.sh
      bash scripts/ThirdParty-install-ITK.sh
      bash scripts/ThirdParty-install.sh
-     bash scripts/ThirdParty-install-Finalize.sh 
-     echo "===================================after ThirdParty-install-Finalize.sh ======ETC_BASHRC : " $ETC_BASHRC
+     bash scripts/ThirdParty-install-Finalize.sh
 
      if [ "$sourcesFrom" = "CVS" ]
      then
         echo "----------------------------------------------------------------------"
         echo OK
         echo "To go on, run again 'bash menu.sh' as '$loginUserName', in a new window"
-        echo "---------------------------------------------------------------------"
+        echo "----------------------------------------------------------------------"
      else
         echo "----------------------------------------------------------------------"
         echo OK
         echo "To go on, run again 'bash menu.sh'  in a new window"
-        echo "---------------------------------------------------------------------"
+        echo "----------------------------------------------------------------------"
      fi
      echo
      echo "==>"
@@ -410,7 +408,6 @@ docgeneration="OFF"
      echo "==>"
      source $ETC_BASHRC
      read a
-     kill -9 $PPID 
   ;;
 
   1.0)
@@ -424,8 +421,7 @@ docgeneration="OFF"
      echo "========================== 1.1 "
      #source scripts/Check-if-root.sh 
      bash scripts/ThirdParty-install-VTK.sh  
-     bash scripts/ThirdParty-install-Finalize.sh      
-     read a       
+     bash scripts/ThirdParty-install-Finalize.sh
   ;;
 
   1.2)
@@ -440,6 +436,12 @@ docgeneration="OFF"
      #source scripts/Check-if-root.sh
      bash scripts/ThirdParty-install-ITK.sh
      bash scripts/ThirdParty-install-Finalize.sh         
+  ;;
+  1.4)
+    echo "========================== 1.4 "
+     #source scripts/Check-if-root.sh
+     bash scripts/ThirdParty-install-WX.sh     
+     bash scripts/ThirdParty-install-Finalize.sh         
      read a
   ;;
 
@@ -613,3 +615,4 @@ docgeneration="OFF"
 
 done
 
+