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:
parent
62508da843
commit
a047f87ed4
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user