Switched to rsync to upload man pages to sourceforge, because scp kept disconnecting

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3864 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
bp-sawyers 2009-07-22 17:55:06 +00:00
parent 169c5e9868
commit fc1dde48cc

View File

@ -203,6 +203,7 @@ if [ "$REL" = "devel" -a "$1" != "promote" ]; then
rm -rf opt
rpm2cpio ../$CORE/xCAT-client-*.noarch.rpm | cpio -id '*.html'
rpm2cpio ../$CORE/perl-xCAT-*.noarch.rpm | cpio -id '*.html'
scp -r opt/xcat/share/doc/man1 opt/xcat/share/doc/man3 opt/xcat/share/doc/man5 opt/xcat/share/doc/man7 opt/xcat/share/doc/man8 $UPLOADUSER,xcat@web.sourceforge.net:htdocs/
# Note: for some reason scp kept getting "Connection reset by peer" part way thru
rsync -rv opt/xcat/share/doc/man1 opt/xcat/share/doc/man3 opt/xcat/share/doc/man5 opt/xcat/share/doc/man7 opt/xcat/share/doc/man8 $UPLOADUSER,xcat@web.sourceforge.net:htdocs/
cd ..
fi