]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Remove commented code.
authorakl <akl@opencascade.com>
Thu, 23 Aug 2007 13:14:26 +0000 (13:14 +0000)
committerakl <akl@opencascade.com>
Thu, 23 Aug 2007 13:14:26 +0000 (13:14 +0000)
config_files/common.sh

index 4a25f9e70bc2ed02b614e6e5d7ca0d9879b96559..436dd6cd9ec1a9bc1cd4cb8ce6812e70b5aa00d4 100755 (executable)
@@ -362,19 +362,15 @@ fi
 sed -e 's%setenv ENV_FOR_LAUNCH 1%setenv ENV_FOR_LAUNCH 0%' ${install_work}/_$CSHRC > ${install_root}/env_build.csh
 sed -e 's%export ENV_FOR_LAUNCH=1%export ENV_FOR_LAUNCH=0%' ${install_work}/_$SHRC  > ${install_root}/env_build.sh
 
-#test -e ${install_root}/env_products.csh && mv ${install_root}/env_products.csh ${install_root}/env_products.csh_`date +%F_%T`
 cp -f ${install_work}/_$CSHRC ${install_root}/env_products.csh
-#test -e ${install_root}/env_products.sh && mv ${install_root}/env_products.sh ${install_root}/env_products.sh_`date +%F_%T`
 cp -f ${install_work}/_$SHRC  ${install_root}/env_products.sh
 
 rm -f ${install_work}/_$SHRC ${install_work}/_$CSHRC
 ### !!! copying build.csh and build.sh scripts
 if [ -e ./build.csh ]; then
-    #test -e ${install_root}/build.csh && mv ${install_root}/build.csh ${install_root}/build.csh_`date +%F_%T`
     cp -f ./build.csh ${install_root}
 fi
 if [ -e ./build.sh ]; then
-    #test -e ${install_root}/build.sh && mv ${install_root}/build.sh ${install_root}/build.sh_`date +%F_%T`
     cp -f ./build.sh ${install_root}
 fi
 ### !!! copying release notes
@@ -397,7 +393,6 @@ product_dir=$1;  install_root=$2;  install_work=$3;
 product_sequence="$4"; installed_products="$5";  product_type=$6
 env_file=${product_dir}/env_${product_type}.sh
 if [ -f ${env_file} ] ; then
-#    cp -f ${env_file} ${install_work}
     cp -f ${env_file} ${install_work}/_env_${product_type}.sh
     make_env ${install_root} ${install_work} "${product_sequence}" "${installed_products}"
     source ${install_work}/$SHRC