X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=config_files%2FLIGHT_BIN.sh;h=f47bb249dbef05e3768583108a0095bfe60114ad;hb=91cfe126e14e251796078d140b2b6723e25ec028;hp=4fb4022e6ed94e9a753951efd10228fa9ddaa52a;hpb=2d2952483a6cb321bf0a404c57231f5afd6b2652;p=tools%2Finstall.git diff --git a/config_files/LIGHT_BIN.sh b/config_files/LIGHT_BIN.sh index 4fb4022..f47bb24 100755 --- a/config_files/LIGHT_BIN.sh +++ b/config_files/LIGHT_BIN.sh @@ -1,10 +1,22 @@ -#!/bin/sh +#!/bin/bash -noprofile + +#################################################################################### +# File : LIGHT_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-2006 CEA +# +# This script is the part of the SALOME installation procedure. +# +#################################################################################### check_version(){ if [ -n "${LIGHT_ROOT_DIR}" ]; then if [ -f ${LIGHT_ROOT_DIR}/bin/salome/VERSION ]; then ver=`cat ${LIGHT_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $NF}' | tr -d '[:space:]' ` - if [ "$ver" = "3.2.0a1" ]; then + if [ "$ver" = "3.2.3" ]; then return 0 fi fi @@ -13,12 +25,17 @@ 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 <