From: maintenance team Date: Fri, 4 May 2007 08:33:23 +0000 (+0000) Subject: Adding RANDOMIZER and SIERPINSKY to IP X-Git-Tag: V_3_2_9~36 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=307fd26e1d2b4b592de7cbdc84ff943aaacc1934;p=tools%2Finstall.git Adding RANDOMIZER and SIERPINSKY to IP --- diff --git a/config_files/RANDOMIZER_BIN.sh b/config_files/RANDOMIZER_BIN.sh new file mode 100755 index 0000000..b93b88c --- /dev/null +++ b/config_files/RANDOMIZER_BIN.sh @@ -0,0 +1,110 @@ +#!/bin/bash -noprofile + +#################################################################################### +# File : RANDOMIZER_BIN.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 +# +# This script is the part of the SALOME installation procedure. +# +#################################################################################### + +VERSION="3.2.6" + +check_version(){ +if [ -n "${RANDOMIZER_ROOT_DIR}" ]; then + if [ -f ${RANDOMIZER_ROOT_DIR}/bin/salome/VERSION ]; then + ver=`cat ${RANDOMIZER_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $NF}' | tr -d '[:space:]' ` + if [ "$ver" = "${VERSION}" ]; then + return 0 + fi + fi +fi +return 1 +} + +print_env(){ +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}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <