]> Creatis software - creaToolsTools.git/blobdiff - Linux/menu.sh
DFCH: Template updated.
[creaToolsTools.git] / Linux / menu.sh
index 7c1a0a10ba73b3397a4687488868590a0aa15ec4..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)"   
@@ -380,8 +381,6 @@ docgeneration="OFF"
   ;;
   
   1)
-     echo "===================================at begin 1) ======ETC_BASHRC : " $ETC_BASHRC
-     read a
      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
 
+