4 if [ -n "${SUPERV_SRC_DIR}" ]; then
5 check_lib_version VERSION ${SUPERV_SRC_DIR}/bin
6 if [ "$?" -eq "0" ]; then
7 ver=`cat ${SUPERV_SRC_DIR}/bin/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' `
8 if [ "$ver" = "3.2.0a2" ]; then
17 cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
18 #$DELIM ${PRODUCT_TYPE} $DELIM
19 export SUPERV_SRC_DIR=\${INSTALL_ROOT}/${PRODUCT}
22 (test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
23 make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
26 # looks for the native product and collects it's environment (used by make_env())
29 if [ $? -eq 0 ] ; then
30 cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
31 #$DELIM ${PRODUCT_TYPE} $DELIM
32 export SUPERV_SRC_DIR=${SUPERV_SRC_DIR}
35 make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
42 try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
48 make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
49 source ${INSTALL_WORK}/$SHRC
51 check_jb tar xfz ${SOURCE_DIR}/SUPERVsourcesV3.2.0a2.tar.gz -C ${INSTALL_ROOT}
62 export INSTALL_WORK=$2;
64 export INSTALL_ROOT=$4;
65 export PRODUCT_SEQUENCE=$5;
66 if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="SupervSrc" ; fi
67 export PRODUCT="SUPERV_SRC_3.2.0a2"
68 export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
69 export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}