X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Linux%2Fmenu.sh;h=f9d229075b1cd9a20f0578679bb16714d2101aba;hb=0abc3748e5deb603797ad450241dc14704b409e2;hp=c0bb8273c95a2f152ca06daf8017283521f372f9;hpb=d9fd6c86e035aece72da23083b86ac33c971ef4b;p=creaToolsTools.git diff --git a/Linux/menu.sh b/Linux/menu.sh index c0bb827..f9d2290 100644 --- a/Linux/menu.sh +++ b/Linux/menu.sh @@ -23,6 +23,7 @@ do echo " Install the CreaTools :..........4 (as root)" echo " Uninstall the CreaTools :..........5 (as root)" echo + echo " Help ..............................7 Help about this menu" echo " Show some Environment Variables ...8" echo " Exit :.............................9" echo @@ -216,7 +217,7 @@ do # ------------------ buildType="___" - while [[ "$buildType" != "Release" && "$Debug " != "HTML" ]] + while [[ "$buildType" != "Release" && "$buildType" != "Debug" ]] do echo "Build type : Release/Debug (default is Release)" read buildType @@ -413,7 +414,11 @@ do exit 0 fi echo "========================= 4" - sh scripts/CreaTools-install.sh + sh scripts/CreaTools-install.sh + echo + echo "==> Hit any key to close current window" + read a + kill $PPID ;; 5) @@ -421,9 +426,17 @@ do sh scripts/CreaTools-uninstall.sh ;; + 7) + clear + echo "===================================" + more README.txt + echo + echo "==> Hit any key to go on" + read a + ;; + 8) clear - echo "===================================" # WARNING : $installPrefixThird is taken from CreaTools-configure.sh