4 # No way to check version!
9 cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
10 #$DELIM ${PRODUCT_TYPE} $DELIM
11 export HXX2SALOMEDOC_ROOT_DIR=\${INSTALL_ROOT}/${PRODUCT}
12 export PATH=\${HXX2SALOMEDOC_ROOT_DIR}:\${PATH}
15 (test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
16 make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
21 make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
22 source ${INSTALL_WORK}/$SHRC
24 check_jb tar xfz ${SOURCE_DIR}/HXX2SALOMEDOCsourcesV3.2.0b1.tar.gz -C ${INSTALL_ROOT}
31 make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} ${PRODUCT_DIR}
35 export INSTALL_WORK=$2;
37 export INSTALL_ROOT=$4;
38 export PRODUCT_SEQUENCE=$5;
39 if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="HXX2SALOMEDOC" ; fi
40 export PRODUCT="HXX2SALOMEDOC_3.2.0b1"
41 export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
42 export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}