Update build script to not promote branch rpms when PREGA is set

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10302 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
bp-sawyers 2011-08-17 16:00:45 +00:00
parent 79dd2efbb8
commit da90d86443

View File

@ -373,8 +373,10 @@ fi
if [ ! -e core-snap ]; then
ln -s xcat-core core-snap
fi
while ! rsync -urLv --delete $CORE $UPLOADUSER,xcat@web.sourceforge.net:htdocs/$YUM/$REL/
do : ; done
if [ "$REL" = "devel" -o "$PREGA" != 1 ]; then
while ! rsync -urLv --delete $CORE $UPLOADUSER,xcat@web.sourceforge.net:htdocs/$YUM/$REL/
do : ; done
fi
# Upload the individual source RPMs to sourceforge
while ! rsync -urLv --delete $SRCD $UPLOADUSER,xcat@web.sourceforge.net:htdocs/$YUM/$REL/