From 41753fc77ca10d9fd2fa51e588d0284d7082ba13 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Tue, 18 Aug 2009 08:40:59 +0000 Subject: Also upload website to TU Dortmund mirror at http://mandree.home.pages.de/fetchmail/info/ svn path=/branches/BRANCH_6-3/; revision=5416 --- website/host-scripts/upload-website.sh | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'website') diff --git a/website/host-scripts/upload-website.sh b/website/host-scripts/upload-website.sh index 8aa2842a..1bf10092 100755 --- a/website/host-scripts/upload-website.sh +++ b/website/host-scripts/upload-website.sh @@ -1,7 +1,7 @@ #! /bin/sh # Script to upload fetchmail website from SVN repository -# (C) 2008 by Matthias Andree. GNU GPL v3. +# (C) 2008 - 2009 by Matthias Andree. GNU GPL v3. : ${BERLIOS_LOGIN=m-a} @@ -19,7 +19,9 @@ if file * | egrep broken\|dangling ; then exit 1 fi -echo "==> Uploading website (rsync)" +pids= + +echo "==> Uploading website (rsync) to BerliOS" # upload rsync \ --chmod=ug=rwX,o=rX,Dg=s --perms \ @@ -27,6 +29,18 @@ rsync \ --exclude host-scripts \ --exclude .svn --exclude '*~' --exclude '#*#' \ * \ - "$BERLIOS_LOGIN@shell.berlios.de:/home/groups/fetchmail/htdocs/" + "$BERLIOS_LOGIN@shell.berlios.de:/home/groups/fetchmail/htdocs/" & +pids="$pids $!" + +echo "==> Uploading website (rsync) to TU Dortmund" +rsync \ + --chmod=ug=rwX,o=rX,Dg=s --perms \ + --copy-links --times --checksum --verbose \ + --exclude host-scripts \ + --exclude .svn --exclude '*~' --exclude '#*#' \ + * \ + ma@fat-tony.dt.e-technik.uni-dortmund.de:public_html/fetchmail/info/ & +pids="$pids $!" -echo "==> Success." +wait $pids +echo "==> Done; check rsync output above for success." -- cgit v1.2.3