Admin/mirror-website
author berghofe
Thu, 03 Jul 2008 00:54:45 +0200
changeset 27449 4880da911af0
parent 25463 8b9c4582795a
child 27594 86db6468145d
permissions -rwxr-xr-x
Rewrote code to use swap_simps rather than calc_atm (which tends to produce ridiculously large nested if-expressions).

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

HOST=$(hostname)

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