Issue #2297 - fix 14.2.1 CAVE build.

Former-commit-id: 8b3f402dd8 [formerly d71631f5cabae72a1ceb30f36ce574b2559c235d]
Former-commit-id: de09a30a4d
This commit is contained in:
Bryan Kowal 2013-10-15 16:07:23 -05:00
parent 0a06af1fdd
commit 3eeefe9e56
2 changed files with 8 additions and 1 deletions

View file

@ -51,8 +51,15 @@ if [ ! -f ${CAVE_DIST_DIR}/%{_component_zip_file_name} ]; then
exit 1
fi
mkdir -p ${RPM_BUILD_ROOT}/awips2/cave/.repository
if [ $? -ne 0 ]; then
exit 1
fi
cp ${CAVE_DIST_DIR}/%{_component_zip_file_name} \
${RPM_BUILD_ROOT}/awips2/cave/.repository
if [ $? -ne 0 ]; then
exit 1
fi
%pre
# Ensure that CAVE is available to backup and to use to

View file

@ -171,7 +171,7 @@ if [ "${1}" = "-rh6" ]; then
buildRPM "awips2-ldm"
buildCAVE
if [ $? -ne 0 ]; then
exit 0
exit 1
fi
buildRPM "awips2-alertviz"
buildRPM "awips2-database-server-configuration"