Issue #2297 - fix 14.2.1 CAVE build.
Former-commit-id: d71631f5cabae72a1ceb30f36ce574b2559c235d
This commit is contained in:
parent
c13018301e
commit
de09a30a4d
2 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue