From eac723b794cbc35686079552f16b7b68792578be Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 25 Oct 2005 17:04:03 +0000 Subject: [PATCH] update SALOME scripts --- config_files/CALCULATOR_BIN.sh | 17 ++++++--- config_files/CALCULATOR_SRC.sh | 8 ++-- config_files/COMPONENT_BIN.sh | 9 +++-- config_files/COMPONENT_SRC.sh | 6 +-- config_files/GEOM_BIN.sh | 9 +++-- config_files/GEOM_SRC.sh | 6 +-- config_files/GHS3DPLUGIN_BIN.sh | 9 +++-- config_files/GHS3DPLUGIN_SRC.sh | 6 +-- config_files/GUI_BIN.sh | 9 +++-- config_files/GUI_SRC.sh | 6 +-- config_files/HELLO_BIN.sh | 9 +++-- config_files/HELLO_SRC.sh | 6 +-- config_files/KERNEL_BIN.sh | 9 +++-- config_files/KERNEL_SRC.sh | 6 +-- config_files/LIGHT_BIN.sh | 9 +++-- config_files/LIGHT_SRC.sh | 6 +-- config_files/MED_BIN.sh | 9 +++-- config_files/MED_SRC.sh | 6 +-- config_files/NETGENPLUGIN_BIN.sh | 9 +++-- config_files/NETGENPLUGIN_SRC.sh | 6 +-- config_files/PYCALCULATOR_BIN.sh | 9 +++-- config_files/PYCALCULATOR_SRC.sh | 6 +-- config_files/PYHELLO_BIN.sh | 9 +++-- config_files/PYHELLO_SRC.sh | 6 +-- config_files/SAMPLES.sh | 63 ++++++++++++++++++++++++++++++++ config_files/SMESH_BIN.sh | 9 +++-- config_files/SMESH_SRC.sh | 6 +-- config_files/SUPERV_BIN.sh | 9 +++-- config_files/SUPERV_SRC.sh | 6 +-- config_files/VISU_BIN.sh | 9 +++-- config_files/VISU_SRC.sh | 6 +-- config_files/build.csh | 2 +- 32 files changed, 205 insertions(+), 95 deletions(-) create mode 100755 config_files/SAMPLES.sh diff --git a/config_files/CALCULATOR_BIN.sh b/config_files/CALCULATOR_BIN.sh index ec090cd..92a5092 100755 --- a/config_files/CALCULATOR_BIN.sh +++ b/config_files/CALCULATOR_BIN.sh @@ -5,7 +5,7 @@ if [ -n "${CALCULATOR_ROOT_DIR}" ]; then check_lib_version VERSION ${CALCULATOR_ROOT_DIR}/bin/salome if [ "$?" -eq "0" ]; then ver=`cat ${CALCULATOR_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' ` - if [ "$ver" = "2.2.5" ]; then + if [ "$ver" = "3.1.0a2" ]; then return 0 fi fi @@ -20,7 +20,8 @@ export CALCULATOR_ROOT_DIR=\${INSTALL_ROOT}/${PRODUCT} if [ -n "\${ENV_FOR_LAUNCH}" ] ; then if [ "\${ENV_FOR_LAUNCH}" == "1" ] ; then export PATH=\${CALCULATOR_ROOT_DIR}/bin/salome:\${PATH} - export PYTHONPATH=\${CALCULATOR_ROOT_DIR}/bin/salome:\${CALCULATOR_ROOT_DIR}/lib/python\${PYTHON_VERSION}/site-packages/salome:\${PYTHONPATH} + export LD_LIBRARY_PATH=\${CALCULATOR_ROOT_DIR}/lib/salome:\${LD_LIBRARY_PATH} + export PYTHONPATH=\${CALCULATOR_ROOT_DIR}/bin/salome:\${CALCULATOR_ROOT_DIR}/lib/salome:\${CALCULATOR_ROOT_DIR}/lib/python\${PYTHON_VERSION}/site-packages/salome:\${PYTHONPATH} fi fi ## @@ -39,7 +40,8 @@ export CALCULATOR_ROOT_DIR=\${INSTALL_ROOT}/${PRODUCT} if [ -n "\${ENV_FOR_LAUNCH}" ] ; then if [ "\${ENV_FOR_LAUNCH}" == "1" ] ; then export PATH=\${CALCULATOR_ROOT_DIR}/bin/salome:\${PATH} - export PYTHONPATH=\${CALCULATOR_ROOT_DIR}/bin/salome:\${CALCULATOR_ROOT_DIR}/lib/python\${PYTHON_VERSION}/site-packages/salome:\${PYTHONPATH} + export LD_LIBRARY_PATH=\${CALCULATOR_ROOT_DIR}/lib/salome:\${LD_LIBRARY_PATH} + export PYTHONPATH=\${CALCULATOR_ROOT_DIR}/bin/salome:\${CALCULATOR_ROOT_DIR}/lib/salome:\${CALCULATOR_ROOT_DIR}/lib/python\${PYTHON_VERSION}/site-packages/salome:\${PYTHONPATH} fi fi ## @@ -65,7 +67,10 @@ install_binary() make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} source ${INSTALL_WORK}/$SHRC -check_jb tar xfz ${SOURCE_DIR}/CALCULATORbinariesV2.2.5.tar.gz -C ${INSTALL_ROOT} +check_jb tar xfz ${SOURCE_DIR}/CALCULATORbinariesV3.1.0a2.tar.gz -C ${INSTALL_ROOT} + +# remove all *.la files +rm -rf ${PRODUCT_DIR}/lib/salome/*.la print_env } @@ -75,8 +80,8 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="CALCULATORBin" ; fi -export PRODUCT="CALCULATOR_2.2.5" +if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="CalculatorBin" ; fi +export PRODUCT="CALCULATOR_3.1.0a2" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} source ./common.sh diff --git a/config_files/CALCULATOR_SRC.sh b/config_files/CALCULATOR_SRC.sh index 16cb84e..27259b3 100755 --- a/config_files/CALCULATOR_SRC.sh +++ b/config_files/CALCULATOR_SRC.sh @@ -5,7 +5,7 @@ if [ -n "${CALCULATOR_SRC_DIR}" ]; then check_lib_version VERSION ${CALCULATOR_SRC_DIR}/bin if [ "$?" -eq "0" ]; then ver=`cat ${CALCULATOR_SRC_DIR}/bin/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' ` - if [ "$ver" = "2.2.5" ]; then + if [ "$ver" = "3.1.0a2" ]; then return 0 fi fi @@ -48,7 +48,7 @@ install_source() make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} source ${INSTALL_WORK}/$SHRC -check_jb tar xfz ${SOURCE_DIR}/CALCULATORsourcesV2.2.5.tar.gz -C ${INSTALL_ROOT} +check_jb tar xfz ${SOURCE_DIR}/CALCULATORsourcesV3.1.0a2.tar.gz -C ${INSTALL_ROOT} print_env } @@ -63,8 +63,8 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="CALCULATORSrc" ; fi -export PRODUCT="CALCULATOR_SRC_2.2.5" +if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="CalculatorSrc" ; fi +export PRODUCT="CALCULATOR_SRC_3.1.0a2" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} source ./common.sh diff --git a/config_files/COMPONENT_BIN.sh b/config_files/COMPONENT_BIN.sh index bd7cb77..0dbb778 100755 --- a/config_files/COMPONENT_BIN.sh +++ b/config_files/COMPONENT_BIN.sh @@ -5,7 +5,7 @@ if [ -n "${COMPONENT_ROOT_DIR}" ]; then check_lib_version VERSION ${COMPONENT_ROOT_DIR}/bin/salome if [ "$?" -eq "0" ]; then ver=`cat ${COMPONENT_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' ` - if [ "$ver" = "3.0.0" ]; then + if [ "$ver" = "3.1.0a2" ]; then return 0 fi fi @@ -67,7 +67,10 @@ install_binary() make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} source ${INSTALL_WORK}/$SHRC -check_jb tar xfz ${SOURCE_DIR}/COMPONENTbinariesV3.0.0.tar.gz -C ${INSTALL_ROOT} +check_jb tar xfz ${SOURCE_DIR}/COMPONENTbinariesV3.1.0a2.tar.gz -C ${INSTALL_ROOT} + +# remove all *.la files +rm -rf ${PRODUCT_DIR}/lib/salome/*.la print_env } @@ -78,7 +81,7 @@ export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="ComponentBin" ; fi -export PRODUCT="COMPONENT_3.0.0" +export PRODUCT="COMPONENT_3.1.0a2" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} source ./common.sh diff --git a/config_files/COMPONENT_SRC.sh b/config_files/COMPONENT_SRC.sh index b357366..8f57b61 100755 --- a/config_files/COMPONENT_SRC.sh +++ b/config_files/COMPONENT_SRC.sh @@ -5,7 +5,7 @@ if [ -n "${COMPONENT_SRC_DIR}" ]; then check_lib_version VERSION ${COMPONENT_SRC_DIR}/bin if [ "$?" -eq "0" ]; then ver=`cat ${COMPONENT_SRC_DIR}/bin/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' ` - if [ "$ver" = "3.0.0" ]; then + if [ "$ver" = "3.1.0a2" ]; then return 0 fi fi @@ -48,7 +48,7 @@ install_source() make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} source ${INSTALL_WORK}/$SHRC -check_jb tar xfz ${SOURCE_DIR}/COMPONENTsourcesV3.0.0.tar.gz -C ${INSTALL_ROOT} +check_jb tar xfz ${SOURCE_DIR}/COMPONENTsourcesV3.1.0a2.tar.gz -C ${INSTALL_ROOT} print_env } @@ -64,7 +64,7 @@ export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="ComponentSrc" ; fi -export PRODUCT="COMPONENT_SRC_3.0.0" +export PRODUCT="COMPONENT_SRC_3.1.0a2" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} source ./common.sh diff --git a/config_files/GEOM_BIN.sh b/config_files/GEOM_BIN.sh index a893ecf..f95328b 100755 --- a/config_files/GEOM_BIN.sh +++ b/config_files/GEOM_BIN.sh @@ -5,7 +5,7 @@ if [ -n "${GEOM_ROOT_DIR}" ]; then check_lib_version VERSION ${GEOM_ROOT_DIR}/bin/salome if [ "$?" -eq "0" ]; then ver=`cat ${GEOM_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' ` - if [ "$ver" = "3.0.0" ]; then + if [ "$ver" = "3.1.0a2" ]; then return 0 fi fi @@ -67,7 +67,10 @@ install_binary() make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} source ${INSTALL_WORK}/$SHRC -check_jb tar xfz ${SOURCE_DIR}/GEOMbinariesV3.0.0.tar.gz -C ${INSTALL_ROOT} +check_jb tar xfz ${SOURCE_DIR}/GEOMbinariesV3.1.0a2.tar.gz -C ${INSTALL_ROOT} + +# remove all *.la files +rm -rf ${PRODUCT_DIR}/lib/salome/*.la print_env } @@ -78,7 +81,7 @@ export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="GeomBin" ; fi -export PRODUCT="GEOM_3.0.0" +export PRODUCT="GEOM_3.1.0a2" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} source ./common.sh diff --git a/config_files/GEOM_SRC.sh b/config_files/GEOM_SRC.sh index 031512d..51a171d 100755 --- a/config_files/GEOM_SRC.sh +++ b/config_files/GEOM_SRC.sh @@ -5,7 +5,7 @@ if [ -n "${GEOM_SRC_DIR}" ]; then check_lib_version VERSION ${GEOM_SRC_DIR}/bin if [ "$?" -eq "0" ]; then ver=`cat ${GEOM_SRC_DIR}/bin/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' ` - if [ "$ver" = "3.0.0" ]; then + if [ "$ver" = "3.1.0a2" ]; then return 0 fi fi @@ -48,7 +48,7 @@ install_source() make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} source ${INSTALL_WORK}/$SHRC -check_jb tar xfz ${SOURCE_DIR}/GEOMsourcesV3.0.0.tar.gz -C ${INSTALL_ROOT} +check_jb tar xfz ${SOURCE_DIR}/GEOMsourcesV3.1.0a2.tar.gz -C ${INSTALL_ROOT} print_env } @@ -64,7 +64,7 @@ export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="GeomSrc" ; fi -export PRODUCT="GEOM_SRC_3.0.0" +export PRODUCT="GEOM_SRC_3.1.0a2" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} source ./common.sh diff --git a/config_files/GHS3DPLUGIN_BIN.sh b/config_files/GHS3DPLUGIN_BIN.sh index d87b6fd..3e93303 100755 --- a/config_files/GHS3DPLUGIN_BIN.sh +++ b/config_files/GHS3DPLUGIN_BIN.sh @@ -5,7 +5,7 @@ if [ -n "${GHS3DPLUGIN_ROOT_DIR}" ]; then check_lib_version VERSION ${GHS3DPLUGIN_ROOT_DIR}/bin/salome if [ "$?" -eq "0" ]; then ver=`cat ${GHS3DPLUGIN_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' ` - if [ "$ver" = "3.0.0" ]; then + if [ "$ver" = "3.1.0a2" ]; then return 0 fi fi @@ -66,7 +66,10 @@ install_binary() make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} source ${INSTALL_WORK}/$SHRC -check_jb tar xfz ${SOURCE_DIR}/GHS3DPLUGINbinariesV3.0.0.tar.gz -C ${INSTALL_ROOT} +check_jb tar xfz ${SOURCE_DIR}/GHS3DPLUGINbinariesV3.1.0a2.tar.gz -C ${INSTALL_ROOT} + +# remove all *.la files +rm -rf ${PRODUCT_DIR}/lib/salome/*.la print_env } @@ -77,7 +80,7 @@ export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="GHS3DPLUGINBin" ; fi -export PRODUCT="GHS3DPLUGIN_3.0.0" +export PRODUCT="GHS3DPLUGIN_3.1.0a2" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} source ./common.sh diff --git a/config_files/GHS3DPLUGIN_SRC.sh b/config_files/GHS3DPLUGIN_SRC.sh index f2327d8..133fa6e 100755 --- a/config_files/GHS3DPLUGIN_SRC.sh +++ b/config_files/GHS3DPLUGIN_SRC.sh @@ -5,7 +5,7 @@ if [ -n "${GHS3DPLUGIN_SRC_DIR}" ]; then check_lib_version VERSION ${GHS3DPLUGIN_SRC_DIR}/bin if [ "$?" -eq "0" ]; then ver=`cat ${GHS3DPLUGIN_SRC_DIR}/bin/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' ` - if [ "$ver" = "3.0.0" ]; then + if [ "$ver" = "3.1.0a2" ]; then return 0 fi fi @@ -49,7 +49,7 @@ install_source() make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} source ${INSTALL_WORK}/$SHRC -check_jb tar xfz ${SOURCE_DIR}/GHS3DPLUGINsourcesV3.0.0.tar.gz -C ${INSTALL_ROOT} +check_jb tar xfz ${SOURCE_DIR}/GHS3DPLUGINsourcesV3.1.0a2.tar.gz -C ${INSTALL_ROOT} print_env } @@ -65,7 +65,7 @@ export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="GHS3DPLUGINSrc" ; fi -export PRODUCT="GHS3DPLUGIN_SRC_3.0.0" +export PRODUCT="GHS3DPLUGIN_SRC_3.1.0a2" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} source ./common.sh diff --git a/config_files/GUI_BIN.sh b/config_files/GUI_BIN.sh index 05a30a2..979c890 100755 --- a/config_files/GUI_BIN.sh +++ b/config_files/GUI_BIN.sh @@ -5,7 +5,7 @@ if [ -n "${GUI_ROOT_DIR}" ]; then check_lib_version VERSION ${GUI_ROOT_DIR}/bin/salome if [ "$?" -eq "0" ]; then ver=`cat ${GUI_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' ` - if [ "$ver" = "3.0.0" ]; then + if [ "$ver" = "3.1.0a2" ]; then return 0 fi fi @@ -67,7 +67,10 @@ install_binary() make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} source ${INSTALL_WORK}/$SHRC -check_jb tar xfz ${SOURCE_DIR}/GUIbinariesV3.0.0.tar.gz -C ${INSTALL_ROOT} +check_jb tar xfz ${SOURCE_DIR}/GUIbinariesV3.1.0a2.tar.gz -C ${INSTALL_ROOT} + +# remove all *.la files +rm -rf ${PRODUCT_DIR}/lib/salome/*.la print_env } @@ -78,7 +81,7 @@ export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="GUIBin" ; fi -export PRODUCT="GUI_3.0.0" +export PRODUCT="GUI_3.1.0a2" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} source ./common.sh diff --git a/config_files/GUI_SRC.sh b/config_files/GUI_SRC.sh index 6ad613d..e538292 100755 --- a/config_files/GUI_SRC.sh +++ b/config_files/GUI_SRC.sh @@ -5,7 +5,7 @@ if [ -n "${GUI_SRC_DIR}" ]; then check_lib_version VERSION ${GUI_SRC_DIR}/bin if [ "$?" -eq "0" ]; then ver=`cat ${GUI_SRC_DIR}/bin/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' ` - if [ "$ver" = "3.0.0" ]; then + if [ "$ver" = "3.1.0a2" ]; then return 0 fi fi @@ -48,7 +48,7 @@ install_source() make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} source ${INSTALL_WORK}/$SHRC -check_jb tar xfz ${SOURCE_DIR}/GUIsourcesV3.0.0.tar.gz -C ${INSTALL_ROOT} +check_jb tar xfz ${SOURCE_DIR}/GUIsourcesV3.1.0a2.tar.gz -C ${INSTALL_ROOT} print_env } @@ -64,7 +64,7 @@ export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="GUISrc" ; fi -export PRODUCT="GUI_SRC_3.0.0" +export PRODUCT="GUI_SRC_3.1.0a2" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} source ./common.sh diff --git a/config_files/HELLO_BIN.sh b/config_files/HELLO_BIN.sh index d8439a2..2cf3519 100755 --- a/config_files/HELLO_BIN.sh +++ b/config_files/HELLO_BIN.sh @@ -4,7 +4,7 @@ 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" = "3.0.0" ]; then + if [ "$ver" = "3.1.0a2" ]; then return 0 fi fi @@ -66,7 +66,10 @@ install_binary() make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} source ${INSTALL_WORK}/$SHRC -check_jb tar xfz ${SOURCE_DIR}/HELLObinariesV3.0.0.tar.gz -C ${INSTALL_ROOT} +check_jb tar xfz ${SOURCE_DIR}/HELLObinariesV3.1.0a2.tar.gz -C ${INSTALL_ROOT} + +# remove all *.la files +rm -rf ${PRODUCT_DIR}/lib/salome/*.la print_env } @@ -77,7 +80,7 @@ export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="HelloBin" ; fi -export PRODUCT="HELLO_3.0.0" +export PRODUCT="HELLO_3.1.0a2" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} source ./common.sh diff --git a/config_files/HELLO_SRC.sh b/config_files/HELLO_SRC.sh index c5a63a9..32b02e6 100755 --- a/config_files/HELLO_SRC.sh +++ b/config_files/HELLO_SRC.sh @@ -4,7 +4,7 @@ check_version(){ if [ -n "${HELLO_SRC_DIR}" ]; then if [ -f ${HELLO_SRC_DIR}/bin/VERSION ]; then ver=`cat ${HELLO_SRC_DIR}/bin/VERSION | awk -F: '{print $NF}' | tr -d '[:space:]' ` - if [ "$ver" = "3.0.0" ]; then + if [ "$ver" = "3.1.0a2" ]; then return 0 fi fi @@ -47,7 +47,7 @@ install_source() make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} source ${INSTALL_WORK}/$SHRC -check_jb tar xfz ${SOURCE_DIR}/HELLOsourcesV3.0.0.tar.gz -C ${INSTALL_ROOT} +check_jb tar xfz ${SOURCE_DIR}/HELLOsourcesV3.1.0a2.tar.gz -C ${INSTALL_ROOT} print_env } @@ -63,7 +63,7 @@ export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="HelloSrc" ; fi -export PRODUCT="HELLO_SRC_3.0.0" +export PRODUCT="HELLO_SRC_3.1.0a2" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} source ./common.sh diff --git a/config_files/KERNEL_BIN.sh b/config_files/KERNEL_BIN.sh index f607b30..eb2dee0 100755 --- a/config_files/KERNEL_BIN.sh +++ b/config_files/KERNEL_BIN.sh @@ -5,7 +5,7 @@ if [ -n "${KERNEL_ROOT_DIR}" ]; then check_lib_version VERSION ${KERNEL_ROOT_DIR}/bin/salome if [ "$?" -eq "0" ]; then ver=`cat ${KERNEL_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' ` - if [ "$ver" = "3.0.0" ]; then + if [ "$ver" = "3.1.0a2" ]; then return 0 fi fi @@ -67,7 +67,7 @@ install_binary() make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} source ${INSTALL_WORK}/$SHRC -check_jb tar xfz ${SOURCE_DIR}/KERNELbinariesV3.0.0.tar.gz -C ${INSTALL_ROOT} +check_jb tar xfz ${SOURCE_DIR}/KERNELbinariesV3.1.0a2.tar.gz -C ${INSTALL_ROOT} # The next two symbolic links are created only for Red Hat 9 if [ -f /lib/libcrypto.so.0.9.7a ]; then @@ -77,6 +77,9 @@ if [ -f /lib/libssl.so.0.9.7a ]; then ln -sf /lib/libssl.so.0.9.7a ${PRODUCT_DIR}/lib/salome/libssl.so.2 fi +# remove all *.la files +rm -rf ${PRODUCT_DIR}/lib/salome/*.la + print_env } @@ -91,7 +94,7 @@ export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="KernelBin" ; fi -export PRODUCT="KERNEL_3.0.0" +export PRODUCT="KERNEL_3.1.0a2" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} source ./common.sh diff --git a/config_files/KERNEL_SRC.sh b/config_files/KERNEL_SRC.sh index 2e7cf88..eb2ed10 100755 --- a/config_files/KERNEL_SRC.sh +++ b/config_files/KERNEL_SRC.sh @@ -5,7 +5,7 @@ if [ -n "${KERNEL_SRC_DIR}" ]; then check_lib_version VERSION ${KERNEL_SRC_DIR}/bin if [ "$?" -eq "0" ]; then ver=`cat ${KERNEL_SRC_DIR}/bin/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' ` - if [ "$ver" = "3.0.0" ]; then + if [ "$ver" = "3.1.0a2" ]; then return 0 fi fi @@ -48,7 +48,7 @@ install_source() make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} source ${INSTALL_WORK}/$SHRC -check_jb tar xfz ${SOURCE_DIR}/KERNELsourcesV3.0.0.tar.gz -C ${INSTALL_ROOT} +check_jb tar xfz ${SOURCE_DIR}/KERNELsourcesV3.1.0a2.tar.gz -C ${INSTALL_ROOT} print_env } @@ -69,7 +69,7 @@ export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="KernelSrc" ; fi -export PRODUCT="KERNEL_SRC_3.0.0" +export PRODUCT="KERNEL_SRC_3.1.0a2" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} source ./common.sh diff --git a/config_files/LIGHT_BIN.sh b/config_files/LIGHT_BIN.sh index c985b41..41224e3 100755 --- a/config_files/LIGHT_BIN.sh +++ b/config_files/LIGHT_BIN.sh @@ -4,7 +4,7 @@ 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" = "0.1" ]; then + if [ "$ver" = "0.2" ]; then return 0 fi fi @@ -62,7 +62,10 @@ install_binary() make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} source ${INSTALL_WORK}/$SHRC -check_jb tar xfz ${SOURCE_DIR}/LIGHTbinariesV0.1.tar.gz -C ${INSTALL_ROOT} +check_jb tar xfz ${SOURCE_DIR}/LIGHTbinariesV0.2.tar.gz -C ${INSTALL_ROOT} + +# remove all *.la files +rm -rf ${PRODUCT_DIR}/lib/salome/*.la print_env } @@ -73,7 +76,7 @@ export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="LIGHTBin" ; fi -export PRODUCT="LIGHT_0.1" +export PRODUCT="LIGHT_0.2" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} source ./common.sh diff --git a/config_files/LIGHT_SRC.sh b/config_files/LIGHT_SRC.sh index dfb2501..9556ffb 100755 --- a/config_files/LIGHT_SRC.sh +++ b/config_files/LIGHT_SRC.sh @@ -4,7 +4,7 @@ check_version(){ if [ -n "${LIGHT_SRC_DIR}" ]; then if [ -f ${LIGHT_SRC_DIR}/bin/VERSION ]; then ver=`cat ${LIGHT_SRC_DIR}/bin/VERSION | awk -F: '{print $NF}' | tr -d '[:space:]' ` - if [ "$ver" = "0.1" ]; then + if [ "$ver" = "0.2" ]; then return 0 fi fi @@ -47,7 +47,7 @@ install_source() make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} source ${INSTALL_WORK}/$SHRC -check_jb tar xfz ${SOURCE_DIR}/LIGHTsourcesV0.1.tar.gz -C ${INSTALL_ROOT} +check_jb tar xfz ${SOURCE_DIR}/LIGHTsourcesV0.2.tar.gz -C ${INSTALL_ROOT} print_env } @@ -63,7 +63,7 @@ export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="LIGHTSrc" ; fi -export PRODUCT="LIGHT_SRC_0.1" +export PRODUCT="LIGHT_SRC_0.2" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} source ./common.sh diff --git a/config_files/MED_BIN.sh b/config_files/MED_BIN.sh index 06d9edf..7eb8449 100755 --- a/config_files/MED_BIN.sh +++ b/config_files/MED_BIN.sh @@ -5,7 +5,7 @@ if [ -n "${MED_ROOT_DIR}" ]; then check_lib_version VERSION ${MED_ROOT_DIR}/bin/salome if [ "$?" -eq "0" ]; then ver=`cat ${MED_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' ` - if [ "$ver" = "3.0.0" ]; then + if [ "$ver" = "3.1.0a2" ]; then return 0 fi fi @@ -67,7 +67,10 @@ install_binary() make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} source ${INSTALL_WORK}/$SHRC -check_jb tar xfz ${SOURCE_DIR}/MEDbinariesV3.0.0.tar.gz -C ${INSTALL_ROOT} +check_jb tar xfz ${SOURCE_DIR}/MEDbinariesV3.1.0a2.tar.gz -C ${INSTALL_ROOT} + +# remove all *.la files +rm -rf ${PRODUCT_DIR}/lib/salome/*.la print_env } @@ -78,7 +81,7 @@ export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="MedBin" ; fi -export PRODUCT="MED_3.0.0" +export PRODUCT="MED_3.1.0a2" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} source ./common.sh diff --git a/config_files/MED_SRC.sh b/config_files/MED_SRC.sh index 95cf6fa..e3627c1 100755 --- a/config_files/MED_SRC.sh +++ b/config_files/MED_SRC.sh @@ -5,7 +5,7 @@ if [ -n "${MED_SRC_DIR}" ]; then check_lib_version VERSION ${MED_SRC_DIR}/bin if [ "$?" -eq "0" ]; then ver=`cat ${MED_SRC_DIR}/bin/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' ` - if [ "$ver" = "3.0.0" ]; then + if [ "$ver" = "3.1.0a2" ]; then return 0 fi fi @@ -48,7 +48,7 @@ install_source() make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} source ${INSTALL_WORK}/$SHRC -check_jb tar xfz ${SOURCE_DIR}/MEDsourcesV3.0.0.tar.gz -C ${INSTALL_ROOT} +check_jb tar xfz ${SOURCE_DIR}/MEDsourcesV3.1.0a2.tar.gz -C ${INSTALL_ROOT} print_env } @@ -64,7 +64,7 @@ export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="MedSrc" ; fi -export PRODUCT="MED_SRC_3.0.0" +export PRODUCT="MED_SRC_3.1.0a2" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} source ./common.sh diff --git a/config_files/NETGENPLUGIN_BIN.sh b/config_files/NETGENPLUGIN_BIN.sh index 082d2b9..517d60b 100755 --- a/config_files/NETGENPLUGIN_BIN.sh +++ b/config_files/NETGENPLUGIN_BIN.sh @@ -5,7 +5,7 @@ if [ -n "${NETGENPLUGIN_ROOT_DIR}" ]; then check_lib_version VERSION ${NETGENPLUGIN_ROOT_DIR}/bin/salome if [ "$?" -eq "0" ]; then ver=`cat ${NETGENPLUGIN_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' ` - if [ "$ver" = "3.0.0" ]; then + if [ "$ver" = "3.1.0a2" ]; then return 0 fi fi @@ -66,7 +66,10 @@ install_binary() make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} source ${INSTALL_WORK}/$SHRC -check_jb tar xfz ${SOURCE_DIR}/NETGENPLUGINbinariesV3.0.0.tar.gz -C ${INSTALL_ROOT} +check_jb tar xfz ${SOURCE_DIR}/NETGENPLUGINbinariesV3.1.0a2.tar.gz -C ${INSTALL_ROOT} + +# remove all *.la files +rm -rf ${PRODUCT_DIR}/lib/salome/*.la print_env } @@ -77,7 +80,7 @@ export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="NETGENPLUGINBin" ; fi -export PRODUCT="NETGENPLUGIN_3.0.0" +export PRODUCT="NETGENPLUGIN_3.1.0a2" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} source ./common.sh diff --git a/config_files/NETGENPLUGIN_SRC.sh b/config_files/NETGENPLUGIN_SRC.sh index 0c21bf2..94e4e75 100755 --- a/config_files/NETGENPLUGIN_SRC.sh +++ b/config_files/NETGENPLUGIN_SRC.sh @@ -5,7 +5,7 @@ if [ -n "${NETGENPLUGIN_SRC_DIR}" ]; then check_lib_version VERSION ${NETGENPLUGIN_SRC_DIR}/bin if [ "$?" -eq "0" ]; then ver=`cat ${NETGENPLUGIN_SRC_DIR}/bin/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' ` - if [ "$ver" = "3.0.0" ]; then + if [ "$ver" = "3.1.0a2" ]; then return 0 fi fi @@ -49,7 +49,7 @@ install_source() make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} source ${INSTALL_WORK}/$SHRC -check_jb tar xfz ${SOURCE_DIR}/NETGENPLUGINsourcesV3.0.0.tar.gz -C ${INSTALL_ROOT} +check_jb tar xfz ${SOURCE_DIR}/NETGENPLUGINsourcesV3.1.0a2.tar.gz -C ${INSTALL_ROOT} print_env } @@ -65,7 +65,7 @@ export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="NETGENPLUGINSrc" ; fi -export PRODUCT="NETGENPLUGIN_SRC_3.0.0" +export PRODUCT="NETGENPLUGIN_SRC_3.1.0a2" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} source ./common.sh diff --git a/config_files/PYCALCULATOR_BIN.sh b/config_files/PYCALCULATOR_BIN.sh index 06f8100..2a0ae76 100755 --- a/config_files/PYCALCULATOR_BIN.sh +++ b/config_files/PYCALCULATOR_BIN.sh @@ -5,7 +5,7 @@ if [ -n "${PYCALCULATOR_ROOT_DIR}" ]; then check_lib_version VERSION ${PYCALCULATOR_ROOT_DIR}/bin/salome if [ "$?" -eq "0" ]; then ver=`cat ${PYCALCULATOR_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' ` - if [ "$ver" = "3.0.0" ]; then + if [ "$ver" = "3.1.0a2" ]; then return 0 fi fi @@ -65,7 +65,10 @@ install_binary() make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} source ${INSTALL_WORK}/$SHRC -check_jb tar xfz ${SOURCE_DIR}/PYCALCULATORbinariesV3.0.0.tar.gz -C ${INSTALL_ROOT} +check_jb tar xfz ${SOURCE_DIR}/PYCALCULATORbinariesV3.1.0a2.tar.gz -C ${INSTALL_ROOT} + +# remove all *.la files +rm -rf ${PRODUCT_DIR}/lib/salome/*.la print_env } @@ -76,7 +79,7 @@ export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="PyCalculatorBin" ; fi -export PRODUCT="PYCALCULATOR_3.0.0" +export PRODUCT="PYCALCULATOR_3.1.0a2" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} source ./common.sh diff --git a/config_files/PYCALCULATOR_SRC.sh b/config_files/PYCALCULATOR_SRC.sh index 141df37..204208c 100755 --- a/config_files/PYCALCULATOR_SRC.sh +++ b/config_files/PYCALCULATOR_SRC.sh @@ -5,7 +5,7 @@ if [ -n "${PYCALCULATOR_SRC_DIR}" ]; then check_lib_version VERSION ${PYCALCULATOR_SRC_DIR}/bin if [ "$?" -eq "0" ]; then ver=`cat ${PYCALCULATOR_SRC_DIR}/bin/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' ` - if [ "$ver" = "3.0.0" ]; then + if [ "$ver" = "3.1.0a2" ]; then return 0 fi fi @@ -48,7 +48,7 @@ install_source() make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} source ${INSTALL_WORK}/$SHRC -check_jb tar xfz ${SOURCE_DIR}/PYCALCULATORsourcesV3.0.0.tar.gz -C ${INSTALL_ROOT} +check_jb tar xfz ${SOURCE_DIR}/PYCALCULATORsourcesV3.1.0a2.tar.gz -C ${INSTALL_ROOT} print_env } @@ -64,7 +64,7 @@ export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="PyCalculatorSrc" ; fi -export PRODUCT="PYCALCULATOR_SRC_3.0.0" +export PRODUCT="PYCALCULATOR_SRC_3.1.0a2" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} source ./common.sh diff --git a/config_files/PYHELLO_BIN.sh b/config_files/PYHELLO_BIN.sh index 2377c19..c08e19a 100755 --- a/config_files/PYHELLO_BIN.sh +++ b/config_files/PYHELLO_BIN.sh @@ -4,7 +4,7 @@ check_version(){ if [ -n "${PYHELLO_ROOT_DIR}" ]; then if [ -f ${PYHELLO_ROOT_DIR}/bin/salome/VERSION ]; then ver=`cat ${PYHELLO_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $NF}' | tr -d '[:space:]' ` - if [ "$ver" = "3.0.0" ]; then + if [ "$ver" = "3.1.0a2" ]; then return 0 fi fi @@ -64,7 +64,10 @@ install_binary() make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} source ${INSTALL_WORK}/$SHRC -check_jb tar xfz ${SOURCE_DIR}/PYHELLObinariesV3.0.0.tar.gz -C ${INSTALL_ROOT} +check_jb tar xfz ${SOURCE_DIR}/PYHELLObinariesV3.1.0a2.tar.gz -C ${INSTALL_ROOT} + +# remove all *.la files +rm -rf ${PRODUCT_DIR}/lib/salome/*.la print_env } @@ -75,7 +78,7 @@ export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="PyHelloBin" ; fi -export PRODUCT="PYHELLO_3.0.0" +export PRODUCT="PYHELLO_3.1.0a2" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} source ./common.sh diff --git a/config_files/PYHELLO_SRC.sh b/config_files/PYHELLO_SRC.sh index 3accd26..aee96e0 100755 --- a/config_files/PYHELLO_SRC.sh +++ b/config_files/PYHELLO_SRC.sh @@ -4,7 +4,7 @@ check_version(){ if [ -n "${PYHELLO_SRC_DIR}" ]; then if [ -f ${PYHELLO_SRC_DIR}/bin/VERSION ]; then ver=`cat ${PYHELLO_SRC_DIR}/bin/VERSION | awk -F: '{print $NF}' | tr -d '[:space:]' ` - if [ "$ver" = "3.0.0" ]; then + if [ "$ver" = "3.1.0a2" ]; then return 0 fi fi @@ -47,7 +47,7 @@ install_source() make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} source ${INSTALL_WORK}/$SHRC -check_jb tar xfz ${SOURCE_DIR}/PYHELLOsourcesV3.0.0.tar.gz -C ${INSTALL_ROOT} +check_jb tar xfz ${SOURCE_DIR}/PYHELLOsourcesV3.1.0a2.tar.gz -C ${INSTALL_ROOT} print_env } @@ -63,7 +63,7 @@ export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="PyHelloSrc" ; fi -export PRODUCT="PYHELLO_SRC_3.0.0" +export PRODUCT="PYHELLO_SRC_3.1.0a2" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} source ./common.sh diff --git a/config_files/SAMPLES.sh b/config_files/SAMPLES.sh new file mode 100755 index 0000000..a760238 --- /dev/null +++ b/config_files/SAMPLES.sh @@ -0,0 +1,63 @@ +#!/bin/sh + +check_version(){ +# There is no possibility to check version number +return 0 +} + +print_env(){ +cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <