]> Creatis software - creaToolsTools.git/blobdiff - Linux/menu.sh
*** empty log message ***
[creaToolsTools.git] / Linux / menu.sh
index a9c5949833bb9c911b5cb173c002b57b3cf7b892..83b7584eb3e4e986c4afe43be3f0d0dd0b93275b 100644 (file)
@@ -1,10 +1,10 @@
 #!/bin/bash -e
 
-clear
 
 i=999
 while [ "$i" != 9 ]
 do
+   clear
    echo
    echo
    echo
@@ -12,14 +12,14 @@ do
    echo
    echo " Choose what you want to do :"
    echo  
-   echo " Configure :                        0 "
-   echo " Install Third Party Libraries :    1 (as root)"
-   echo " Get the 'CreaTools' source files : 2 (CVS : as user!)" 
-   echo " Compile   the CreaTools :          3 "
-   echo " Install   the CreaTools :          4 (as root)"
-   echo " Uninstall the CreaTools :          5 (as root)"
+   echo " Configure :..........................0 "
+   echo " Install Third Party Libraries :......1 (as root)"
+   echo " Get the 'CreaTools' source files :...2 (CVS : as user!)" 
+   echo " Compile   the CreaTools :............3 "
+   echo " Install   the CreaTools :............4 (as root)"
+   echo " Uninstall the CreaTools :............5 (as root)"
    echo
-   echo " Exit :                             9"
+   echo " Exit :...............................9"
   echo
   echo
   echo 
@@ -213,20 +213,20 @@ do
         echo
         echo
         echo "You said :"
-        echo "           Operating System                           : $OperatingSystem"
-        echo "           Name of the Generation Directory           : $generationdir"
-        echo "           Install Prefix for Third Party Libraries   : $installPrefixThird"     
-        echo "           Install Prefix for CreaTools               : $installPrefix"
-        echo "           Boolean for Doc Generation                 : $docgeneration"
-        echo "           Where do you want to get source files from : $sourcesFrom"
+        echo "  Operating System                           : $OperatingSystem"
+        echo "  Name of the Generation Directory           : $generationdir"
+        echo "  Install Prefix for Third Party Libraries   : $installPrefixThird"      
+        echo "  Install Prefix for CreaTools               : $installPrefix"
+        echo "  Boolean for Doc Generation                 : $docgeneration"
+        echo "  Where do you want to get source files from : $sourcesFrom"
         if [ $sourcesFrom = CVS ]
         then
            echo "           CVS User Name                              : $cvsUserName"
         fi
-        echo "           Login User Name                            : $loginUserName"
-        echo "           Login Group Name                           : $loginGroupName"
-        echo "           Build type                                 : $buildType"          
-        echo "           Gdcm version                               : $gdcmVersion"
+        echo "  Login User Name                            : $loginUserName"
+        echo "  Login Group Name                           : $loginGroupName"
+        echo "  Build type                                 : $buildType"          
+        echo "  Gdcm version                               : $gdcmVersion"
         echo
         echo
         echo "Do you confirm your choices : YES/NO ? (default is NO)"
@@ -266,7 +266,7 @@ do
   
   1)
      echo "========================== 1 "
-     source scripts/Check-if-root.sh
+#EED_missing_this_file      source scripts/Check-if-root.sh
      
      sh scripts/ThirdParty-install.sh
      
@@ -277,8 +277,6 @@ do
         do
            echo
           echo " --------------------------------"
-          
-          X                            
            echo " Set VTK_DIR environment variable"
           echo " --------------------------------"
            echo