Admin/mirror-website
author wenzelm
Fri, 07 May 2010 20:57:37 +0200
changeset 36734 d9b10c173330
parent 31086 3e69a25b90a2
child 36859 51af1657263b
permissions -rwxr-xr-x
Pretty.formatted operates directly on XML trees, treating XML.Elem like a pro-forma block of indentation 0, like the ML version; 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