From: maintenance team Date: Fri, 15 Jun 2007 13:33:19 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3fc7f53018e153df7b92f2bd334f988c0b98c722;p=tools%2Finstall.git *** empty log message *** --- diff --git a/config_files/MULTIPR_SRC.sh b/config_files/MULTIPR_SRC.sh index 493a931..249d124 100755 --- a/config_files/MULTIPR_SRC.sh +++ b/config_files/MULTIPR_SRC.sh @@ -1,7 +1,7 @@ #!/bin/bash -noprofile #################################################################################### -# File : COMPONENT_SRC.sh +# File : MULTIPR_SRC.sh # Created : Thu Dec 18 12:01:00 2002 # Author : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com) # Project : SALOME @@ -15,9 +15,9 @@ VERSION="4.0.0" check_version(){ -if [ -n "${COMPONENT_SRC_DIR}" ]; then - if [ -f ${COMPONENT_SRC_DIR}/configure.in.base ]; then - ver=`grep -E "^VERSION=" ${COMPONENT_SRC_DIR}/configure.in.base | awk -F= '{print $NF}' | tr -d '[:space:]' ` +if [ -n "${MULTIPR_SRC_DIR}" ]; then + if [ -f ${MULTIPR_SRC_DIR}/configure.in.base ]; then + ver=`grep -E "^VERSION=" ${MULTIPR_SRC_DIR}/configure.in.base | awk -F= '{print $NF}' | tr -d '[:space:]' ` if [ "$ver" = "${VERSION}" ]; then return 0 fi @@ -29,7 +29,7 @@ return 1 print_env(){ cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <