4 #we don't know anything about version
9 cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
10 #$DELIM ${PRODUCT_TYPE} $DELIM
11 export PYHELLO_ROOT_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 PYHELLO_ROOT_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}
45 make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
46 source ${INSTALL_WORK}/$SHRC
48 check_jb tar xfz ${SOURCE_DIR}/PYHELLObinariesV2.2.3.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="PyHelloBin" ; fi
59 export PRODUCT="PYHELLO_2.2.3"
60 export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
61 export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}