X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=inline;f=config_files%2FFILTER.sh;h=718ae04db63d711aaf099cfa6034c3e6c5ceb9f2;hb=8f833b0e5c0cbd6f632d4d6cce27795736153723;hp=08bd6dd013e214f8da9e13eee89df4cba6b699b1;hpb=8087605ba0e7594719529f01fd18887362c3b3db;p=tools%2Finstall.git diff --git a/config_files/FILTER.sh b/config_files/FILTER.sh index 08bd6dd..718ae04 100755 --- a/config_files/FILTER.sh +++ b/config_files/FILTER.sh @@ -1,29 +1,27 @@ #!/bin/bash -noprofile #################################################################################### -# File : FILTER_BIN.sh +# File : FILTER.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-2012 CEA # # This script is the part of the SALOME installation procedure. # #################################################################################### -VERSION="4.1.1" - check_version(){ if [ -n "${FILTER_ROOT_DIR}" ]; then if [ -f ${FILTER_ROOT_DIR}/bin/salome/VERSION ]; then ver=`cat ${FILTER_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 "${FILTER_SRC_DIR}" ]; then - check_salome_src_version FILTER_SRC_DIR $VERSION + check_salome_src_version FILTER_SRC_DIR if [ $? -eq 0 ] ; then return 0 ; fi return 1 fi @@ -31,49 +29,45 @@ return 1 } print_env_bin(){ -if test `uname -m` = "x86_64" ; then -export LIB_PREFIX=64 -else -export LIB_PREFIX="" -fi cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh <