more reconfig for buildCAVE to not fill docker container
This commit is contained in:
parent
0141eef459
commit
d5a9ac5c27
3 changed files with 2 additions and 3 deletions
|
@ -43,7 +43,7 @@ pushd . > /dev/null 2>&1
|
|||
cd ${BASELINE}
|
||||
mkdir -p ${WORKSPACE}
|
||||
if [[ ${2} = "buildCAVE" ]]; then
|
||||
RSYNC_DIRS=`cat $dir/rsync.dirs |grep -v nativelib`
|
||||
RSYNC_DIRS=`cat $dir/rsync.dirs |grep -v nativelib | grep -v awips2-rpm`
|
||||
else
|
||||
RSYNC_DIRS=`cat $dir/rsync.dirs`
|
||||
fi
|
||||
|
|
|
@ -34,7 +34,6 @@ if [ ! -d awips2-goesr ]; then git clone https://github.com/Unidata/awi
|
|||
if [ ! -d awips2-hazards ]; then git clone https://github.com/Unidata/awips2-hazards.git --branch development --single-branch ;fi
|
||||
if [ ! -d awips2-ncep ]; then git clone https://github.com/Unidata/awips2-ncep.git --branch unidata_${AWIPSII_VERSION} --single-branch ;fi
|
||||
if [ ! -d awips2-nws ]; then git clone https://github.com/Unidata/awips2-nws.git --branch unidata_${AWIPSII_VERSION} --single-branch ;fi
|
||||
if [ ! -d awips2-rpm ]; then git clone https://github.com/Unidata/awips2-rpm.git --branch unidata_${AWIPSII_VERSION} --single-branch ;fi
|
||||
if [ ! -d awips2-unidata ]; then git clone https://github.com/Unidata/awips2-unidata.git --branch unidata_${AWIPSII_VERSION} --single-branch ;fi
|
||||
|
||||
#
|
||||
|
|
|
@ -18,7 +18,7 @@ dirs=" -v `pwd`:/awips2/repo/awips2-builds:rw "
|
|||
|
||||
# If local source directories, exist, mount them to the container
|
||||
if [ $rpmname = "buildCAVE" ]; then
|
||||
for dn in `cat build/repos| grep -v static| grep -v nativelib`
|
||||
for dn in `cat build/repos| grep -v static| grep -v nativelib |grep -v awips2-rpm`
|
||||
do
|
||||
echo $dn
|
||||
if [ -d /awips2/repo/$dn ]; then dirs+=" -v /awips2/repo/${dn}:/awips2/repo/${dn} ";fi
|
||||
|
|
Loading…
Add table
Reference in a new issue