Former-commit-id:ea1c82452b
[formerly 56068aa96fa6daf113861476bf4b7aebe2021ca4] Former-commit-id:65e1e4ee0b
26 lines
644 B
Bash
26 lines
644 B
Bash
# Now, it is time to build the AWIPS II Cave RPMs.
|
|
echo "INFO: Begin - Building AWIPS II Cave RPMs."
|
|
|
|
export RPM_TOP_DIR="${WORKSPACE}/rpmbuild"
|
|
export WORKSPACE_DIR="${WORKSPACE}"
|
|
BUILDROOT_DIR=/tmp/awips2-component
|
|
|
|
COMPONENT=""
|
|
COMPONENT_DIR=""
|
|
|
|
export AWIPSCM_SHARE=${SHARE_DIR}
|
|
|
|
function updateCaveRepository()
|
|
{
|
|
mv ${RPM_TOP_DIR}/RPMS/i386/* ${WORKSPACE}/${REPO_ROOT_DIR}/${_32BIT_REPO_RPM_DIR}/cave
|
|
}
|
|
|
|
cd ${WORKSPACE}/Installer.rpm/awips2.cave/deploy.builder
|
|
time ./build.sh ${AWIPSII_VERSION} ${AWIPSII_RELEASE}
|
|
RC=$?
|
|
if [ ${RC} -ne 0 ]; then
|
|
exit ${RC}
|
|
fi
|
|
updateCaveRepository
|
|
|
|
echo "INFO: Finish - Building AWIPS II Cave RPMs."
|