Fixed promote option on build script

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3121 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
bp-sawyers 2009-04-08 03:03:39 +00:00
parent 62508da843
commit a047f87ed4

View File

@ -160,7 +160,7 @@ chmod g+w $TARNAME
# Upload the tarball and individual RPMs
rsync -rlv --delete $CORE $UPLOADUSER,xcat@web.sourceforge.net:htdocs/yum/$REL/
if [ "$2" = "promote" ]; then
if [ "$2" = "promote" -a "$1" != "devel" ]; then
true #todo: upload tarball to FRS.
else
scp $TARNAME $UPLOADUSER,xcat@web.sourceforge.net:htdocs/yum/$REL/