Admin/mirror-website
author huffman
Sun, 28 Feb 2010 15:30:44 -0800
changeset 35475 979019ab92eb
parent 31086 3e69a25b90a2
child 36859 51af1657263b
permissions -rwxr-xr-x
move common functions into new file holcf_library.ML

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