From: vsr Date: Fri, 29 Nov 2013 13:05:34 +0000 (+0000) Subject: SALOME 7.3.0 preparation X-Git-Tag: V7_3_0rc1~41 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=684e697692827e155342f429c6519d21859a8773;p=tools%2Finstall.git SALOME 7.3.0 preparation --- diff --git a/config_files/HELLO.sh b/config_files/HELLO.sh index 2e3e195..e2ab3c4 100755 --- a/config_files/HELLO.sh +++ b/config_files/HELLO.sh @@ -15,8 +15,8 @@ check_version(){ if [ -n "${HELLO_ROOT_DIR}" ]; then if [ -f ${HELLO_ROOT_DIR}/bin/salome/VERSION ]; then - ver=`cat ${HELLO_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $NF}' | tr -d '[:space:]' ` - if [ "$ver" = "${SALOME_VERSION}" ]; then + ver=`head -n1 ${HELLO_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' ` + if [ "${ver}" = "${SALOME_VERSION}" ]; then return 0 fi fi @@ -30,7 +30,7 @@ return 1 print_env_bin(){ cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh <> ${PRODUCT_DIR}/MAKE.LOG < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh <