Admin/mirror-website
author wenzelm
Fri, 09 May 2008 23:20:17 +0200
changeset 26866 3cff7b336c75
parent 25463 8b9c4582795a
child 27594 86db6468145d
permissions -rwxr-xr-x
proper antiquotations for commands;

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