Admin/mirror-website
author wenzelm
Sun, 15 Mar 2009 15:59:44 +0100
changeset 30529 23d1892f8015
parent 27594 86db6468145d
child 31086 3e69a25b90a2
permissions -rwxr-xr-x
simplified attribute setup; replaced add_args by add parser;

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