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 [ -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:]' `
make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
source ${INSTALL_WORK}/$SHRC
make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
source ${INSTALL_WORK}/$SHRC
export INSTALL_ROOT=$4;
export PRODUCT_SEQUENCE=$5;
if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="LIGHTBin" ; fi
export INSTALL_ROOT=$4;
export PRODUCT_SEQUENCE=$5;
if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="LIGHTBin" ; fi