X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=config_files%2FBLSURFPLUGIN.sh;h=35115091376cf8f9263ce8b24568f53fad8e3e24;hb=260bf6b42efe9e30501c4e6e99b013da3fe34f77;hp=83b4b9257199535c829f553b736b279d0c3257a6;hpb=34196d3506a461913913a579680590ae8cfa8611;p=tools%2Finstall.git diff --git a/config_files/BLSURFPLUGIN.sh b/config_files/BLSURFPLUGIN.sh index 83b4b92..3511509 100755 --- a/config_files/BLSURFPLUGIN.sh +++ b/config_files/BLSURFPLUGIN.sh @@ -1,30 +1,28 @@ #!/bin/bash -noprofile #################################################################################### -# File : BLSURFPLUGIN_BIN.sh +# File : BLSURFPLUGIN.sh # Created : Thu Dec 18 12:01:00 2002 # Author : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com) # Project : SALOME # Module : Installation Wizard -# Copyright : 2002-2007 CEA +# Copyright : 2002-2008 CEA # # This script is the part of the SALOME installation procedure. # #################################################################################### -VERSION="4.1.1" - check_version(){ if [ -n "${BLSURFPLUGIN_ROOT_DIR}" ]; then if [ -f ${BLSURFPLUGIN_ROOT_DIR}/bin/salome/VERSION ]; then ver=`cat ${BLSURFPLUGIN_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $NF}' | tr -d '[:space:]' ` - if [ "$ver" = "${VERSION}" ]; then + if [ "$ver" = "${SALOME_VERSION}" ]; then return 0 fi fi elif [ -n "${BLSURFPLUGIN_SRC_DIR}" ]; then check_version(){ - check_salome_src_version BLSURFPLUGIN_SRC_DIR $VERSION + check_salome_src_version BLSURFPLUGIN_SRC_DIR if [ $? -eq 0 ] ; then return 0 ; fi return 1 } @@ -33,52 +31,45 @@ return 1 } print_env_bin(){ -if [ `uname -m` = "x86_64" ] && [ -d ${PRODUCT_DIR}/lib64 ] ; then - LIB_PREFIX=64 -elif [ -d ${PRODUCT_DIR}/lib ] ; then - LIB_PREFIX="" -else - LIB_PREFIX=64 -fi cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh <