Admin/mirror-website
author haftmann
Wed, 09 Jan 2008 08:04:03 +0100
changeset 25868 97c6787099bc
parent 25463 8b9c4582795a
child 27594 86db6468145d
permissions -rwxr-xr-x
a note on syntax

#!/usr/bin/env bash
#
# $Id$
#
# mirrors the Isabelle website

HOST=$(hostname)

case ${HOST} in
  sunbroy2)
    DEST=/home/html/isabelle/html-data
    ;;
  atbroy*)
    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