4 if [ -n "${PYHELLO_SRC_DIR}" ]; then
5 if [ -f ${PYHELLO_SRC_DIR}/bin/VERSION ]; then
6 ver=`cat ${PYHELLO_SRC_DIR}/bin/VERSION | awk -F: '{print $NF}' | tr -d '[:space:]' `
7 if [ "$ver" = "3.2.0b1" ]; then
16 cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
17 #$DELIM ${PRODUCT_TYPE} $DELIM
18 export PYHELLO_SRC_DIR=\${INSTALL_ROOT}/${PRODUCT}
21 (test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
22 make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
25 # looks for the native product and collects it's environment (used by make_env())
28 if [ $? -eq 0 ] ; then
29 cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
30 #$DELIM ${PRODUCT_TYPE} $DELIM
31 export PYHELLO_SRC_DIR=${PYHELLO_SRC_DIR}
34 make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
41 try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
47 make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
48 source ${INSTALL_WORK}/$SHRC
50 check_jb tar xfz ${SOURCE_DIR}/PYHELLOsourcesV3.2.0b1.tar.gz -C ${INSTALL_ROOT}
61 export INSTALL_WORK=$2;
63 export INSTALL_ROOT=$4;
64 export PRODUCT_SEQUENCE=$5;
65 if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="PyHelloSrc" ; fi
66 export PRODUCT="PYHELLO_SRC_3.2.0b1"
67 export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
68 export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}