linuxUserName=""
while [ "$linuxUserName" == "" ]
- do
- echo "LINUX/MacOS User Name (mandatory!)"
+ do
+ echo "Have a look at the following line to know 'Login User Name'/'Login Group Name'"
+ ls -l .bashrc
+ echo "Login User Name (mandatory!)"
read linuxUserName
echo "you said : [" $linuxUserName "]"
done
echo
+echo
+
+ linuxGroupName=""
+ while [ "$linuxGroupName" == "" ]
+ do
+ echo "Have a look at the following line to know 'Login User Name'/'Login Group Name'"
+ echo "Login Group Name (mandatory!)"
+ read linuxGroupName
+ echo "you said : [" $linuxGroupName "]"
+ done
+echo
echo
# ------------------
then
echo " CVS User Name : $cvsUserName"
fi
-echo " LINUX/MacOS User Name : $linuxUserName"
+echo " Login User Name : $linuxUserName"
+echo " Login Group Name : $linuxGroupName"
echo " Build type : $buildType"
echo " Gdcm version : $gdcmVersion"
echo
echo "docgeneration=$docgeneration" >> $configureFile
echo "sourcesFrom=$sourcesFrom" >> $configureFile
echo "cvsUserName=$cvsUserName" >> $configureFile
-echo "linuxUserName=$linuxUserName" >> $configureFile
+echo "loginUserName=$linuxUserName" >> $configureFile
+echo "loginGroupName=$linuxGroupName" >> $configureFile
echo "buildType=$buildType" >> $configureFile
echo "gdcmVersion=$gdcmVersion" >> $configureFile
2)
echo "========================== $i"
- sh scripts/CreaTools-compile.sh
+ sh scripts/CreaTools-compile.sh
+
+ # To allow (very aware) user to patch code
+ chown -R $generationdir/creatools_source $linuxUserName
+ chgrp -R $generationdir/creatools_source $linuxGroupName
+ # Too much time consuming
+ #chown -R $generationdir/creatools_source $linuxUserName
+ #chgrp -R $generationdir/creatools_source $linuxGroupName
;;
3)