+# ---------------------------------------------------------------------
+#
+# Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
+# pour la Santé)
+# Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
+#
+# This software is governed by the CeCILL-B license under French law and
+# abiding by the rules of distribution of free software. You can use,
+# modify and/ or redistribute the software under the terms of the CeCILL-B
+# license as circulated by CEA, CNRS and INRIA at the following URL
+# http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
+# or in the file LICENSE.txt.
+#
+# As a counterpart to the access to the source code and rights to copy,
+# modify and redistribute granted by the license, users are provided only
+# with a limited warranty and the software's author, the holder of the
+# economic rights, and the successive licensors have only limited
+# liability.
+#
+# The fact that you are presently reading this means that you have had
+# knowledge of the CeCILL-B license and that you accept its terms.
+# ------------------------------------------------------------------------
+
+
#!/bin/bash -e
if [ -f scripts/CreaTools-configure.sh ]
echo
echo " MENU"
echo
+ echo " This MENU is deprecated."
+ echo " Please use installscipt instead."
+ echo
echo " Choose what you want to do :"
echo
echo " Configure :........................0"
if [ $expanded = "YES" ]
then
- echo " Get the 'CreaTools' source files :.2.1 (CVS : as user!)"
+ echo " Get the 'CreaTools' source files :.2.1 (GIT : as user!)"
echo " Compile the CreaTools :..........2.2"
# Install creatools as user (no longer as root) // JPR 2/5/2011
echo " Install the CreaTools :..........2.3"
# ------------------
sourcesFrom="___"
- while [[ "$sourcesFrom" != "CVS" && "$sourcesFrom" != "HTML" ]]
+ while [[ "$sourcesFrom" != "GIT" && "$sourcesFrom" != "HTML" ]]
do
- echo "Where do you want to get source files from : CVS/HTML ( CVS : for registered CREATIS users only! )"
+ echo "Where do you want to get source files from : GIT/HTML ( GIT : for registered CREATIS users only! )"
read sourcesFrom
if [ "$sourcesFrom" = "" ]
then
- sourcesFrom="CVS"
+ sourcesFrom="GIT"
fi
echo "you said : [" $sourcesFrom "]"
done
echo
# ------------------
- cvsUserName=""
- if [ "$sourcesFrom" = "CVS" ]
+ gitUserName=""
+ if [ "$sourcesFrom" = "GIT" ]
then
- while [ "$cvsUserName" == "" ]
+ while [ "$gitUserName" == "" ]
do
- echo "CVS User Name ( registered CREATIS user : mandatory!)"
- read cvsUserName
+ echo "GIT User Name ( registered CREATIS user : mandatory!)"
+ read gitUserName
done
- echo "you said : [" $cvsUserName "]"
+ echo "you said : [" $gitUserName "]"
else
- cvsUserName="ForgetThisOne"
+ gitUserName="ForgetThisOne"
fi
echo
echo
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 ]
+ if [ $sourcesFrom = GIT ]
then
- echo " CVS User Name : $cvsUserName"
+ echo " GIT User Name : $gitUserName"
fi
echo " Login User Name : $loginUserName"
echo " Login Group Name : $loginGroupName"
echo "installPrefixThird=$installPrefixThird" >> $configureFile
echo "docgeneration=$docgeneration" >> $configureFile
echo "sourcesFrom=$sourcesFrom" >> $configureFile
- echo "cvsUserName=$cvsUserName" >> $configureFile
+ echo "gitUserName=$gitUserName" >> $configureFile
echo "loginUserName=$loginUserName" >> $configureFile
echo "loginGroupName=$loginGroupName" >> $configureFile
echo "buildType=$buildType" >> $configureFile
bash scripts/ThirdParty-install.sh
bash scripts/ThirdParty-install-Finalize.sh
- if [ "$sourcesFrom" = "CVS" ]
+ if [ "$sourcesFrom" = "GIT" ]
then
echo "----------------------------------------------------------------------"
echo OK