4 # There is no possibility to check version number
9 cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
10 #$DELIM ${PRODUCT_TYPE} $DELIM
11 export DATA_DIR=\${INSTALL_ROOT}/${PRODUCT}
14 (test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
15 make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
18 # looks for the native product and collects it's environment (used by make_env())
21 if [ $? -eq 0 ] ; then
22 cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
23 #$DELIM ${PRODUCT_TYPE} $DELIM
24 export DATA_DIR=\${INSTALL_ROOT}/${PRODUCT}
27 make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
34 try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
40 make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
41 source ${INSTALL_WORK}/$SHRC
43 check_jb tar xfz ${SOURCE_DIR}/SAMPLESsourcesV3.2.0a2.tar.gz -C ${INSTALL_ROOT}
54 export INSTALL_WORK=$2;
56 export INSTALL_ROOT=$4;
57 export PRODUCT_SEQUENCE=$5;
58 if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="Samples" ; fi
59 export PRODUCT="SAMPLES_SRC_3.2.0a2"
60 export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
61 export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}