Admin/mirror-website
author wenzelm
Thu, 13 Nov 2008 21:59:47 +0100
changeset 28775 d25fe9601dbd
parent 27594 86db6468145d
child 31086 3e69a25b90a2
permissions -rwxr-xr-x
tuned outer lexical syntax; fixed var/tvar: really need question marks here;

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