From da90d86443e78c7d201c780a3aec3054b7091c34 Mon Sep 17 00:00:00 2001 From: bp-sawyers Date: Wed, 17 Aug 2011 16:00:45 +0000 Subject: [PATCH] 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 --- buildcore.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/buildcore.sh b/buildcore.sh index c10422864..352acfe98 100755 --- a/buildcore.sh +++ b/buildcore.sh @@ -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/