Admin/mirror-website
author kleing
Wed, 08 Oct 2008 00:03:42 +0200
changeset 28526 a30b9cf3502e
parent 27594 86db6468145d
child 31086 3e69a25b90a2
permissions -rwxr-xr-x
leave a log message when no snapshot is generated

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