diff --git a/buildcore.sh b/buildcore.sh index 162c89db0..c6d6af641 100755 --- a/buildcore.sh +++ b/buildcore.sh @@ -200,7 +200,8 @@ do : ; done if [ "$PROMOTE" = 1 -a "$REL" != "devel" ]; then # upload tarball to FRS area #scp $TARNAME $UPLOADUSER@web.sourceforge.net:uploads/ - echo "$TARNAME has been built. Remember to upload it to sourceforge using its File Manager." + while ! rsync -v $TARNAME "$UPLOADUSER,xcat@web.sourceforge.net:/home/frs/project/x/xc/xcat/xcat/$REL.x Linux/" + do : ; done else while ! rsync -v $TARNAME $UPLOADUSER,xcat@web.sourceforge.net:htdocs/yum/$REL/ do : ; done diff --git a/builddep.sh b/builddep.sh index d8847709f..687283eeb 100755 --- a/builddep.sh +++ b/builddep.sh @@ -49,9 +49,11 @@ fi # Upload the dir structure to SF yum area. Currently we do not have it preserving permissions # because that gives errors when different users try to do it. -rsync -rlv * $UPLOADUSER,xcat@web.sourceforge.net:htdocs/yum/xcat-dep/ +while ! rsync -rlv --delete * $UPLOADUSER,xcat@web.sourceforge.net:htdocs/yum/xcat-dep/ +do : ; done #ssh jbjohnso@shell1.sf.net "cd /home/groups/x/xc/xcat/htdocs/yum/; rm -rf dep-snap; tar jxvf $DFNAME" -# Upload the tarball to the SF uploads dir for the FRS -#scp ../$DFNAME $UPLOADUSER@web.sourceforge.net:uploads/ -echo "$DFNAME has been built. Remember to upload it to sourceforge using its File Manager." +# Upload the tarball to the SF FRS Area +#scp ../$DFNAME "$UPLOADUSER@web.sourceforge.net:/home/frs/project/x/xc/xcat/xcat-dep/2.x Linux/" +while ! rsync -v ../$DFNAME "$UPLOADUSER,xcat@web.sourceforge.net:/home/frs/project/x/xc/xcat/xcat-dep/2.x Linux/" +do : ; done