Issue #202 - Removed questionable 12.2.1 changes to the soon-to-be deprecated rpm core build.sh script; the gfesuite rpms will now manually created needed directories. At one time the directories were probably baselined until we switched to git.
Former-commit-id: 75cac6f9bf1dc237c4131e47912c595adb6aa0d7
This commit is contained in:
parent
3cfa029f4b
commit
c803afd454
3 changed files with 45 additions and 3 deletions
|
@ -58,6 +58,21 @@ if [ ${RC} -ne 0 ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# Create additional directories that are required; the baselined empty
|
||||
# directories were lost when we started using git.
|
||||
mkdir -p ${RPM_BUILD_ROOT}/awips2/GFESuite/exportgrids/tmp
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
mkdir -p ${RPM_BUILD_ROOT}/awips2/GFESuite/exportgrids2
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
mkdir -p ${RPM_BUILD_ROOT}/awips2/GFESuite/products/ISC
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Copy the profile.d scripts.
|
||||
PROFILE_D_DIR="Installer.rpm/common/environment/awips2-gfesuite/profile.d"
|
||||
cp ${WORKSPACE_DIR}/${PROFILE_D_DIR}/* ${RPM_BUILD_ROOT}/etc/profile.d
|
||||
|
@ -75,3 +90,9 @@ cp ${WORKSPACE_DIR}/${PROFILE_D_DIR}/* ${RPM_BUILD_ROOT}/etc/profile.d
|
|||
%defattr(644,awips,fxalpha,755)
|
||||
%dir /awips2/GFESuite/bin/src
|
||||
/awips2/GFESuite/bin/src/*
|
||||
%dir /awips2/GFESuite/exportgrids
|
||||
/awips2/GFESuite/exportgrids/*
|
||||
%dir /awips2/GFESuite/exportgrids2
|
||||
%defattr(644,awips,fxalpha,775)
|
||||
%dir /awips2/GFESuite/products
|
||||
/awips2/GFESuite/products/*
|
|
@ -58,6 +58,21 @@ if [ ${RC} -ne 0 ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# Create additional directories that are required; the baselined empty
|
||||
# directories were lost when we started using git.
|
||||
mkdir -p ${RPM_BUILD_ROOT}/awips2/GFESuite/exportgrids/tmp
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
mkdir -p ${RPM_BUILD_ROOT}/awips2/GFESuite/exportgrids2
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
mkdir -p ${RPM_BUILD_ROOT}/awips2/GFESuite/products/ISC
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Copy the profile.d scripts.
|
||||
PROFILE_D_DIR="Installer.rpm/common/environment/awips2-gfesuite/profile.d"
|
||||
cp ${WORKSPACE_DIR}/${PROFILE_D_DIR}/* ${RPM_BUILD_ROOT}/etc/profile.d
|
||||
|
@ -75,7 +90,13 @@ cp ${WORKSPACE_DIR}/${PROFILE_D_DIR}/* ${RPM_BUILD_ROOT}/etc/profile.d
|
|||
%defattr(644,awips,fxalpha,755)
|
||||
%dir /awips2/GFESuite/bin/src
|
||||
/awips2/GFESuite/bin/src/*
|
||||
%dir /awips2/GFESuite/exportgrids
|
||||
/awips2/GFESuite/exportgrids/*
|
||||
%dir /awips2/GFESuite/exportgrids2
|
||||
%defattr(755,awips,fxalpha,777)
|
||||
%dir /awips2/GFESuite/ServiceBackup/scripts
|
||||
/awips2/GFESuite/ServiceBackup/scripts/*
|
||||
%config(noreplace) /awips2/GFESuite/ServiceBackup/configuration/svcbu.properties
|
||||
%defattr(644,awips,fxalpha,775)
|
||||
%dir /awips2/GFESuite/products
|
||||
/awips2/GFESuite/products/*
|
|
@ -4,8 +4,8 @@ set -x
|
|||
# We Need To Setup Our Environment.
|
||||
source env.sh
|
||||
|
||||
echo "The AWIPSII Version is $AWIPSII_VERSION WTF WTF WTF WTF"
|
||||
echo "The AWIPSII Release is $AWIPSII_RELEASE WTF WTF WTF WTF"
|
||||
echo "The AWIPSII Version is $AWIPSII_VERSION "
|
||||
echo "The AWIPSII Release is $AWIPSII_RELEASE "
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue