diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2010-05-27 09:57:24 +0200 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2010-05-27 09:57:24 +0200 |
commit | 107b6cd9074838c4c82ad0f92349c667b7c41fa8 (patch) | |
tree | f0df7a985fcc1b764fa45fef0071f6c36557cc8c | |
parent | ef52da8277d8c3cff8a49999675b8c5f06d3d0c1 (diff) | |
download | fetchmail-107b6cd9074838c4c82ad0f92349c667b7c41fa8.tar.gz fetchmail-107b6cd9074838c4c82ad0f92349c667b7c41fa8.tar.bz2 fetchmail-107b6cd9074838c4c82ad0f92349c667b7c41fa8.zip |
Also upload to SourceForge.
-rwxr-xr-x | website/host-scripts/upload-website.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/website/host-scripts/upload-website.sh b/website/host-scripts/upload-website.sh index 35613402..a193c3b3 100755 --- a/website/host-scripts/upload-website.sh +++ b/website/host-scripts/upload-website.sh @@ -4,6 +4,7 @@ # (C) 2008 - 2010 by Matthias Andree. GNU GPL v3. : ${BERLIOS_LOGIN=m-a} +: ${SOURCEFORGE_LOGIN=m-a} # abort on error set -eu @@ -32,6 +33,17 @@ rsync \ "$BERLIOS_LOGIN@shell.berlios.de:/home/groups/fetchmail/htdocs/" & pids="$pids $!" +echo "==> Uploading website (rsync) to SourceForge" +# upload +rsync \ + --chmod=ug=rwX,o=rX,Dg=s --perms \ + --copy-links --times --checksum --verbose \ + --exclude host-scripts \ + --exclude .git --exclude '*~' --exclude '#*#' \ + * \ + "${SOURCEFORGE_LOGIN},fetchmail@web.sourceforge.net:htdocs/" & +pids="$pids $!" + echo "==> Uploading website (rsync) to local" rsync \ --chmod=ug=rwX,o=rX,Dg=s --perms \ |