From d73267e16b2e0adcc37c4de097b7fb9a6a00b16f Mon Sep 17 00:00:00 2001 From: bp-sawyers Date: Fri, 9 Sep 2011 12:50:13 +0000 Subject: [PATCH] Fix promote prega problem in build script in 2.6 branch also git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.6@10486 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- buildcore.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/buildcore.sh b/buildcore.sh index 04b4316b3..3de24a58d 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/