Admin/mirror-website
author wenzelm
Mon, 24 Sep 2007 13:52:50 +0200
changeset 24688 a5754ca5c510
parent 18173 8ae6a9e7ff0e
child 25463 8b9c4582795a
permissions -rwxr-xr-x
replaced interrupt_timeout by TimeLimit.timeLimit (available on SML/NJ and Poly/ML 5.1);

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

HOST=$(hostname)

case ${HOST} in
  sunbroy2)
    DEST=/home/html/isabelle/html-data
    ;;
  atbroy1)
    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 -w $DEST