Admin/mirror-website
author huffman
Tue, 23 Mar 2010 10:07:39 -0700
changeset 35933 f135ebcc835c
parent 31086 3e69a25b90a2
child 36859 51af1657263b
permissions -rwxr-xr-x
remove continuous let-binding function CLet; add cont2cont rule ordinary Let

#!/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