X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=config_files%2FHexoticPLUGIN.sh;h=f678da69ed413f82cd636d4bee4f20b0d8739256;hb=73f0cef67e0ba37f5103072e3c225f6938ec07a1;hp=de0cfeefb51e04cf50e113a9f9c6adb1f4402746;hpb=091fb8cc3f467a78dc9bf5d208c5d48e2d9e54b7;p=tools%2Finstall.git diff --git a/config_files/HexoticPLUGIN.sh b/config_files/HexoticPLUGIN.sh index de0cfee..f678da6 100755 --- a/config_files/HexoticPLUGIN.sh +++ b/config_files/HexoticPLUGIN.sh @@ -1,29 +1,27 @@ #!/bin/bash -noprofile #################################################################################### -# File : HexoticPLUGIN_BIN.sh +# File : HexoticPLUGIN.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.0" - check_version(){ if [ -n "${HexoticPLUGIN_ROOT_DIR}" ]; then if [ -f ${HexoticPLUGIN_ROOT_DIR}/bin/salome/VERSION ]; then ver=`cat ${HexoticPLUGIN_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 "${HexoticPLUGIN_SRC_DIR}" ]; then - check_salome_src_version HexoticPLUGIN_SRC_DIR $VERSION + check_salome_src_version HexoticPLUGIN_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 <