aboutsummaryrefslogtreecommitdiffstats
path: root/website/host-scripts
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2009-08-18 08:40:59 +0000
committerMatthias Andree <matthias.andree@gmx.de>2009-08-18 08:40:59 +0000
commit41753fc77ca10d9fd2fa51e588d0284d7082ba13 (patch)
tree97fbb3df79ad0d41581ad930a212a7709dc4f521 /website/host-scripts
parentd7db335df7367b96b094e8b886c161f4de11f525 (diff)
downloadfetchmail-41753fc77ca10d9fd2fa51e588d0284d7082ba13.tar.gz
fetchmail-41753fc77ca10d9fd2fa51e588d0284d7082ba13.tar.bz2
fetchmail-41753fc77ca10d9fd2fa51e588d0284d7082ba13.zip
Also upload website to TU Dortmund mirror at http://mandree.home.pages.de/fetchmail/info/
svn path=/branches/BRANCH_6-3/; revision=5416
Diffstat (limited to 'website/host-scripts')
-rwxr-xr-xwebsite/host-scripts/upload-website.sh22
1 files changed, 18 insertions, 4 deletions
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."