Admin/mirror-website
author wenzelm
Mon, 14 Jul 2008 23:28:26 +0200
changeset 27594 86db6468145d
parent 25463 8b9c4582795a
child 31086 3e69a25b90a2
permissions -rwxr-xr-x
cover macbroy as well; tuned;

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