Admin/mirror-website
author paulson
Mon, 11 May 2009 15:05:17 +0100
changeset 31086 3e69a25b90a2
parent 27594 86db6468145d
child 36859 51af1657263b
permissions -rwxr-xr-x
Change to lowercase path names as directed by local pagemasters

#!/usr/bin/env bash
#
# $Id$
#
# mirrors the Isabelle website

HOST=$(hostname)

case ${HOST} in
  sunbroy* | atbroy* | macbroy*)
    DEST=/home/html/isabelle/html-data
    ;;
  *.cl.cam.ac.uk)
    USER=paulson
    DEST=/anfs/www/html/research/hvg/Isabelle
    ;;
  *)
    echo "Unknown destination directory for ${HOST}"
    exit 2
    ;;
esac

exec $(dirname $0)/isasync $DEST